campo-sirio/in/inlib01.h
alex 37178085ef Patch level : main 07.150
Files correlati     : nessuno
Ricompilazione Demo : [ ]
Commento            :
Riportata la versione aga 07.150 sul main trunk


git-svn-id: svn://10.65.10.50/trunk@9871 c028cbd2-c16b-5b4b-a496-9718f37d4682
2001-09-19 14:52:11 +00:00

35 lines
861 B
C++
Executable File

#ifndef __INLIB01_H
#define __INLIB01_H
#ifndef __AUTOMASK_H
#include <automask.h>
#endif
class TIntra_mask : public TAutomask
{
char _freq_ces, _freq_acq;
protected:
virtual void on_firm_change();
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
virtual short type_field() const;
virtual short period_field() const;
virtual int anno() const pure;
public:
int date2periodo(const TDate & d);
char tipo() const;
char frequenza(const int anno) const;
int periodo() const;
const char* periodo_str() const;
TIntra_mask(const char* name);
virtual ~TIntra_mask() { }
};
void genera_riepiloghi(char tipo = ' ', int anno = 0, int periodo = 0);
bool is_riepilogo(char tipo, int anno, int periodo);
#endif