campo-sirio/cg/cg2107.h

38 lines
863 B
C
Raw Normal View History

#ifndef __CG2107_H__
#define __CG2107_H__
#ifndef __AUTOMASK_H
#include <automask.h>
#endif
#ifndef __TREE_H
#include <tree.h>
#endif
#ifndef __CGLIB01_H__
#include "cglib01.h"
#endif
#include <tree.h>
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