Patch level : no patch
Files correlati : Ricompilazione Demo : [ ] Commento : MOdificati programmi non ancora utilizzati git-svn-id: svn://10.65.10.50/trunk@10936 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
bc1e41eef4
commit
f9260ba988
@ -19,6 +19,5 @@ int main(int argc, char** argv)
|
||||
default:
|
||||
error_box(usage, argv[0]) ; break;
|
||||
}
|
||||
exit(0);
|
||||
return rt ;
|
||||
exit(rt);
|
||||
}
|
||||
|
@ -8,33 +8,17 @@
|
||||
#include "ab1200.h"
|
||||
|
||||
|
||||
class AB1200_application : public TApplication
|
||||
class AB1200_application : public TSkeleton_application
|
||||
{
|
||||
public:
|
||||
|
||||
virtual bool create() ; //Crea la finestra principale
|
||||
virtual bool destroy() ; //Distrugge la finestra principale
|
||||
virtual bool menu(MENU_TAG); //Controlla il menu
|
||||
virtual void main_loop(); //Controlla il menu
|
||||
|
||||
AB1200_application() {} //Costruttore
|
||||
virtual ~AB1200_application() {} //Distruttore
|
||||
};
|
||||
|
||||
|
||||
bool AB1200_application::create()
|
||||
{
|
||||
|
||||
|
||||
dispatch_e_menu(BAR_ITEM(1)); //Simula la selezione di una voce di menu
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool AB1200_application::destroy()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool AB1200_application::menu(MENU_TAG)
|
||||
void AB1200_application::main_loop()
|
||||
{
|
||||
TForm f("AB1200"); //form: AB1200.frm
|
||||
TMask m("AB1200"); //machera: AB1200.uml
|
||||
@ -63,7 +47,6 @@ bool AB1200_application::menu(MENU_TAG)
|
||||
f.print(); //Stampa
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int ab1200(int argc, char** argv)
|
||||
|
@ -19,6 +19,7 @@ int main(int argc,char **argv)
|
||||
default:
|
||||
error_box(usage, argv[0]) ;
|
||||
}
|
||||
return 0;
|
||||
exit(0);
|
||||
|
||||
}
|
||||
|
||||
|
@ -196,7 +196,6 @@ class TRicezione_userdef : public TObject_reception
|
||||
|
||||
|
||||
//classe derivata nella quale viene gestita la funzione di trasferimento
|
||||
//class TTrasfer: public TApplication
|
||||
class TTrasfer: public TSkeleton_application
|
||||
{
|
||||
// private:
|
||||
|
@ -6,5 +6,6 @@
|
||||
int main(int argc,char **argv)
|
||||
{
|
||||
ab3100(argc,argv);
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user