797e8900fb
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 873 git-svn-id: svn://10.65.10.50/trunk@15151 c028cbd2-c16b-5b4b-a496-9718f37d4682
39 lines
1005 B
C++
Executable File
39 lines
1005 B
C++
Executable File
#ifndef __BA1500_H__
|
|
#define __BA1500_H__
|
|
|
|
#ifndef __DONGLE_H
|
|
#include <dongle.h>
|
|
#endif
|
|
|
|
const int 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_description_by_name(const char* name) const;
|
|
|
|
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) const;
|
|
int get_index_by_name(const char* name) const;
|
|
|
|
int unassigned() const { return _unassigned_modules; }
|
|
int items() const { return _infos.items(); }
|
|
TInformazione_moduli();
|
|
virtual ~TInformazione_moduli() {};
|
|
};
|
|
|
|
bool update_dninst(bool force);
|
|
bool update_assistance_year();
|
|
const char* split_ass(const int ass_year);
|
|
|
|
#endif
|