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:
|
1997-11-06 10:05:56 +00:00
|
|
|
int build_list(const TString& m, TString_array& a,
|
|
|
|
const char* s = NULL, bool agg = FALSE);
|
|
|
|
int build_complete_list(const TString& m, TString_array& a,
|
|
|
|
const char* s = NULL, bool agg = FALSE);
|
1999-04-06 15:34:39 +00:00
|
|
|
int build_app_list(const TString& m, TString_array& a);
|
2002-12-20 16:15:03 +00:00
|
|
|
int build_kill_list(const TString& m, TString_array& a,
|
|
|
|
const char* s = NULL, bool agg = FALSE);
|
1998-08-25 17:46:29 +00:00
|
|
|
void export_paragraph(const char* module, const char* summary,const bool remove);
|
|
|
|
void export_module_paragraphs(const char* module, const char* summary,const bool remove);
|
1997-10-30 15:13:59 +00:00
|
|
|
|
2009-10-29 16:40:04 +00:00
|
|
|
bool demo() { return get_bool("Demo", "Main"); }
|
1997-12-15 15:11:40 +00:00
|
|
|
const TString& version(const char* module);
|
1998-01-23 14:55:34 +00:00
|
|
|
int patch(const char* module);
|
1998-01-28 08:53:28 +00:00
|
|
|
void version_info(const char* module,
|
|
|
|
int& year, int& release, int& tag, int& patch);
|
1997-12-15 15:11:40 +00:00
|
|
|
|
1997-10-30 15:13:59 +00:00
|
|
|
static const char* default_name() { return "install.ini"; }
|
|
|
|
|
2009-05-27 13:23:41 +00:00
|
|
|
TInstall_ini() : TConfig(CONFIG_GENERAL, "Main") { }
|
1997-10-30 15:13:59 +00:00
|
|
|
TInstall_ini(const char* path) : TConfig(path, "Main") { }
|
1998-08-25 17:46:29 +00:00
|
|
|
TInstall_ini(const char* path, const char * paragraph) : TConfig(path, paragraph) { }
|
1997-10-30 15:13:59 +00:00
|
|
|
virtual ~TInstall_ini() { }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|