1997-10-30 15:13:59 +00:00
|
|
|
#ifndef __BA1600_H
|
|
|
|
#define __BA1600_H
|
1997-10-13 14:07:29 +00:00
|
|
|
|
1997-10-30 15:13:59 +00:00
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class TInstall_ini : public TConfig
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
int build_list(const TString& m, TString_array& a, const char* s = NULL);
|
|
|
|
int build_complete_list(const TString& m, TString_array& a, const char* s = NULL);
|
|
|
|
|
|
|
|
void copy_paragraph(const char* module, const char* summary);
|
|
|
|
void copy_module_paragraphs(const char* module, const char* summary);
|
|
|
|
|
|
|
|
static const char* default_name() { return "install.ini"; }
|
|
|
|
|
|
|
|
TInstall_ini() : TConfig("install.ini", "Main") { }
|
|
|
|
TInstall_ini(const char* path) : TConfig(path, "Main") { }
|
|
|
|
virtual ~TInstall_ini() { }
|
|
|
|
};
|
|
|
|
|
|
|
|
// Mitica token string che sceglie da sola il separatore
|
|
|
|
class TAuto_token_string : public TToken_string
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
TAuto_token_string& create(const char* ts);
|
|
|
|
|
|
|
|
public:
|
|
|
|
TAuto_token_string& operator=(const char* ts) { return create(ts); }
|
|
|
|
TAuto_token_string& operator=(const TString& ts) { return create(ts); }
|
|
|
|
TAuto_token_string& operator=(const TToken_string& ts) { return create(ts); }
|
|
|
|
TAuto_token_string& operator=(const TAuto_token_string& ts) { return create(ts); }
|
|
|
|
TAuto_token_string(const char* ts) { create(ts); }
|
|
|
|
virtual ~TAuto_token_string() { }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|