2006-12-13 16:22:33 +00:00
|
|
|
#ifndef __CG2107_H__
|
|
|
|
#define __CG2107_H__
|
|
|
|
|
|
|
|
#ifndef __AUTOMASK_H
|
|
|
|
#include <automask.h>
|
|
|
|
#endif
|
|
|
|
|
2008-02-05 12:33:52 +00:00
|
|
|
#ifndef __TREE_H
|
|
|
|
#include <tree.h>
|
|
|
|
#endif
|
|
|
|
|
2006-12-13 16:22:33 +00:00
|
|
|
#ifndef __CGLIB01_H__
|
|
|
|
#include "cglib01.h"
|
|
|
|
#endif
|
|
|
|
|
2008-02-05 10:55:05 +00:00
|
|
|
#include <tree.h>
|
|
|
|
|
2006-12-13 16:22:33 +00:00
|
|
|
class TEasySolder_mask : public TAutomask
|
|
|
|
{
|
|
|
|
TBill _conto; // Conto fisso del cliente/fornitore
|
|
|
|
long _numreg; // Numero movimento contabile
|
|
|
|
int _numrig; // Riga contabile corrente (prima = 1!)
|
|
|
|
bool _changed;
|
|
|
|
TTree* _tree;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
|
|
|
|
void set_imp(short id, const TImporto& imp);
|
|
|
|
|
|
|
|
public:
|
|
|
|
bool changed() const { return _changed; }
|
|
|
|
void init(const TBill& conto, long numreg, int numrig);
|
|
|
|
TEasySolder_mask(const TBill& conto, long numreg, int numrig);
|
|
|
|
virtual ~TEasySolder_mask();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|