35a2f39daf
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/branches/R_10_00@21882 c028cbd2-c16b-5b4b-a496-9718f37d4682
26 lines
459 B
C++
Executable File
26 lines
459 B
C++
Executable File
#include <xvt.h>
|
|
#include <checks.h>
|
|
|
|
#include "ha2.h"
|
|
|
|
#define usage "Error - usage : %s -{0|1}"
|
|
|
|
int main(int argc,char** argv)
|
|
{
|
|
int rt = -1 ;
|
|
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
|
|
|
|
switch (r)
|
|
{
|
|
case 0:
|
|
rt = ha2100(argc, argv) ; break; //gestione file privat
|
|
break;
|
|
case 1:
|
|
rt = ha2200(argc, argv) ; break; //gestione file fatture
|
|
break;
|
|
default:
|
|
error_box(usage, argv[0]) ; break;
|
|
}
|
|
return rt;
|
|
}
|