32 lines
801 B
C
32 lines
801 B
C
|
#ifndef __CG2107_H__
|
||
|
#define __CG2107_H__
|
||
|
|
||
|
#ifndef __AUTOMASK_H
|
||
|
#include <automask.h>
|
||
|
#endif
|
||
|
|
||
|
#ifndef __CGLIB01_H__
|
||
|
#include "cglib01.h"
|
||
|
#endif
|
||
|
|
||
|
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
|