Beispiel #1
0
/*auDiskTool driver */
int main() {

    Tool          tool;
    CommandLine   cmdline;
    Configuration config;
    Report        report;
    Type type;

    tool.Init(config, report);
      
    while ((type = cmdline.GetType())!= EXIT) {
      if (cmdline.GetCommand() != 0)
	tool.RespondCmd(cmdline, config, report);
    }
  
    tool.Exit();
    return 0;
}