Files correlati : Ricompilazione Demo : [ ] Commento : Riportate le patch fino alla 172 git-svn-id: svn://10.65.10.50/trunk@12526 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef __INLIB01_H
 | |
| #define __INLIB01_H
 | |
| 
 | |
| #ifndef __AUTOMASK_H
 | |
| #include <automask.h>
 | |
| #endif
 | |
| 
 | |
| class TIntra_frequency : public TObject
 | |
| {
 | |
|   char _freq_ces, _freq_acq;
 | |
| 
 | |
| public:
 | |
|   char frequenza(int anno, char tipo) const;
 | |
|   int date2periodo(const TDate& d, char tipo) const;
 | |
|   int compare_periodo(const TDate& dtcomp, const TDate& dtreg, char tipo) const;
 | |
|   
 | |
|   void update();
 | |
|   TIntra_frequency();
 | |
|   virtual ~TIntra_frequency() { }
 | |
| };
 | |
| 
 | |
| class TIntra_mask : public TAutomask
 | |
| {
 | |
| protected:
 | |
|   TIntra_frequency _freq;
 | |
| 
 | |
|   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:
 | |
|   char tipo() const;
 | |
|   int periodo() const;
 | |
|   char frequenza(int anno = 0, char tipo = '\0') const;
 | |
|   int date2periodo(const TDate& d) 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
 |