campo-sirio/ha/ha0.cpp
luca 36af44eb2d Patch level : ha1076
Files correlati     : ha0 ha1
Ricompilazione Demo : [ ]
Commento            :
Modifiche richieste da Roberto per ocnto di hardy


git-svn-id: svn://10.65.10.50/branches/R_10_00@22411 c028cbd2-c16b-5b4b-a496-9718f37d4682
2011-09-12 11:09:22 +00:00

23 lines
647 B
C++
Executable File

#include <xvt.h>
#include "ha0.h"
int main(int argc,char** argv)
{
int rt = -1 ;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 1: rt = ha0200(argc, argv); break; // configurazione modulo
case 2: rt = ha0300(argc, argv); break; // gestione contratti premio
case 3: rt = ha0400(argc, argv); break; // elaborazione contratti premio pareggiati
case 4: rt = ha0500(argc, argv); break; // elaborazione documenti (NAC - contratti premio)
case 5: rt = ha0600(argc, argv); break; // gestione codici corrispondenti
default: rt = ha0100(argc, argv); break; // gestore tabelle modulo HA
}
return rt;
}