which included commits to RCS files with non-trunk default branches. git-svn-id: svn://10.65.10.50/trunk@1681 c028cbd2-c16b-5b4b-a496-9718f37d4682
61 lines
1023 B
C++
Executable File
61 lines
1023 B
C++
Executable File
#include "ve2100.h"
|
|
|
|
#define LF_CONDV 52
|
|
#define LF_RCONDV 53
|
|
|
|
|
|
#ifndef __CHECKS_H
|
|
#include <checks.h>
|
|
#endif
|
|
|
|
#ifndef __RELAPP_H
|
|
#include <relapp.h>
|
|
#endif
|
|
|
|
#ifndef __LFFILES_H
|
|
#include <lffiles.h>
|
|
#endif
|
|
|
|
class Tlistino_application : public TRelation_application
|
|
{
|
|
TMask* _msk;
|
|
TRelation* _rel;
|
|
|
|
virtual bool user_create();
|
|
virtual bool user_destroy();
|
|
virtual TMask* get_mask(int mode) { return _msk;}
|
|
virtual bool changing_mask(int mode) { return FALSE;}
|
|
virtual TRelation* get_relation() const { return _rel;}
|
|
|
|
|
|
|
|
public:
|
|
|
|
Tlistino_application( ) { };
|
|
virtual ~Tlistino_application() { }
|
|
};
|
|
|
|
bool Tlistino_application::user_create()
|
|
{
|
|
_msk = new TMask( "VE2100" );
|
|
_rel = new TRelation( LF_CONDV );
|
|
// _rel.add( "%PIP" )
|
|
return TRUE;
|
|
}
|
|
|
|
bool Tlistino_application::user_destroy()
|
|
{
|
|
delete _msk;
|
|
delete _rel;
|
|
return TRUE;
|
|
}
|
|
|
|
int ve2100(int argc, char* argv[])
|
|
{
|
|
|
|
Tlistino_application a;
|
|
|
|
a.run(argc, argv, "Gestione listini " );
|
|
return 0;
|
|
}
|