campo-sirio/vd/vd0500.cpp

41 lines
628 B
C++
Raw Normal View History

#include <applicat.h>
#include "vd0500a.h"
#include "vdlib.h"
class TApertura_turno_app : public TSkeleton_application
{
protected:
virtual bool user_create( );
virtual bool user_destroy( );
virtual void main_loop();
public:
TApertura_turno_app() { }
virtual ~TApertura_turno_app( ) { }
};
bool TApertura_turno_app::user_create()
{
return true;
}
bool TApertura_turno_app::user_destroy()
{
return true;
}
void TApertura_turno_app::main_loop()
{
TTurno_vendita t;
t.apri(true);
}
int vd0500(int argc, char* argv[])
{
TApertura_turno_app appc;
appc.run(argc, argv, TR("Apertura turno"));
return 0;
}