Eliminata dipendenza da modulo CU

git-svn-id: svn://10.65.10.50/branches/R_10_00@22823 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2013-03-15 11:00:09 +00:00
parent 62ddf9914b
commit 6b910cdbe0
3 changed files with 3 additions and 24 deletions

@ -1,23 +1,8 @@
#include <xvt.h>
#include <checks.h>
#include "ct0.h"
#define usage "Error - usage : %s -{0}"
int main(int argc,char** argv)
{
int rt = -1 ;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 0:
rt = ct0100(argc, argv) ; break; //gestore stampe
break;
default:
error_box(usage, argv[0]) ; break;
}
return rt;
return ct0100(argc, argv); // gestore stampe CUP
}

@ -73,7 +73,6 @@ class TPrint_CUP : public TSkeleton_application
TPrint_CUP_mask* _mask;
protected:
virtual bool create();
virtual void print();
virtual void preview();
virtual void print_or_preview(const bool stampa);
@ -155,14 +154,9 @@ void TPrint_CUP::main_loop()
_mask = NULL;
}
bool TPrint_CUP::create()
{
return TSkeleton_application::create();
}
int ct0100(int argc, char* argv[])
{
TPrint_CUP a;
a.run(argc, argv, TR("Stampa tracciabilita' CUP"));
a.run(argc, argv, TR("Stampa tracciabilità CUP"));
return 0;
}

@ -12,7 +12,7 @@ END
ENDPAGE
PAGE "Tracciabilita'" 0 0 0 2
PAGE "Tracciabilità" 0 0 0 2
GROUPBOX DLG_NULL 78 7
BEGIN