1997-09-30 09:34:49 +00:00
|
|
|
#ifndef __BA1500_H__
|
|
|
|
#define __BA1500_H__
|
|
|
|
|
1996-05-28 09:39:05 +00:00
|
|
|
#ifndef __STRINGS_H
|
|
|
|
#include <strings.h>
|
|
|
|
#endif
|
|
|
|
|
1997-09-30 09:34:49 +00:00
|
|
|
const word MAX_AUT = 48 * 3;
|
|
|
|
|
1996-05-28 09:39:05 +00:00
|
|
|
class TInformazione_moduli : public TObject
|
|
|
|
{
|
|
|
|
TString_array _infos;
|
1997-09-30 09:34:49 +00:00
|
|
|
int _index[MAX_AUT];
|
1996-05-28 09:39:05 +00:00
|
|
|
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; }
|
1997-09-30 09:34:49 +00:00
|
|
|
int items() const { return _infos.items(); }
|
1996-05-28 09:39:05 +00:00
|
|
|
TInformazione_moduli() ;
|
|
|
|
~TInformazione_moduli() {};
|
|
|
|
};
|
|
|
|
|
1997-09-30 09:34:49 +00:00
|
|
|
#endif
|