30 lines
		
	
	
		
			767 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			767 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef __BA1500_H__
 | |
| #define __BA1500_H__
 | |
| 
 | |
| #ifndef __STRINGS_H
 | |
| #include <strings.h>
 | |
| #endif
 | |
| 
 | |
| const word MAX_AUT = 48 * 3;
 | |
| 
 | |
| class TInformazione_moduli : public TObject
 | |
| {
 | |
|   TString_array _infos;
 | |
|   int           _index[MAX_AUT];
 | |
|   int           _unassigned_modules; // Moduli non assegnati, con descrizione vuota
 | |
|   
 | |
| public:
 | |
|   const char * get_description_by_order(int index);
 | |
|   const char * get_name_by_order(int index);
 | |
|   int          get_module_by_order(int index);
 | |
|   const char * get_description(int module);
 | |
|   const char * get_name(int module);
 | |
|   int          get_index(int module);
 | |
|   int          unassigned() { return _unassigned_modules; }
 | |
|   int          items() const { return _infos.items(); }
 | |
|   TInformazione_moduli() ;
 | |
|   ~TInformazione_moduli() {};
 | |
| };
 | |
| 
 | |
| #endif
 |