Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/branches/R_10_00@21995 c028cbd2-c16b-5b4b-a496-9718f37d4682
23 lines
575 B
C++
Executable File
23 lines
575 B
C++
Executable File
#include <xvt.h>
|
|
#include <checks.h>
|
|
|
|
#include "ha3.h"
|
|
|
|
#define usage "Error - usage : %s -{0|6|7|8}"
|
|
|
|
int main(int argc,char** argv)
|
|
{
|
|
int rt = -1 ;
|
|
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
|
|
|
|
switch (r)
|
|
{
|
|
case 0: rt = ha3100(argc, argv); break; //Gestione giri
|
|
case 6: rt = ha3700(argc, argv); break; //Stampa storico
|
|
case 7: rt = ha3800(argc, argv); break; //Inserimento righe storico da documenti
|
|
case 8: rt = ha3900(argc, argv); break; //Gestione storico attrezzature
|
|
default: error_box(usage, argv[0]); break;
|
|
}
|
|
return rt;
|
|
}
|