c8d2a302e3
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione AGA 1.7 patch 349 git-svn-id: svn://10.65.10.50/trunk@10708 c028cbd2-c16b-5b4b-a496-9718f37d4682
38 lines
1.4 KiB
C++
Executable File
38 lines
1.4 KiB
C++
Executable File
#ifndef __BA1600_H
|
|
#define __BA1600_H
|
|
|
|
#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, bool agg = FALSE);
|
|
int build_complete_list(const TString& m, TString_array& a,
|
|
const char* s = NULL, bool agg = FALSE);
|
|
int build_app_list(const TString& m, TString_array& a);
|
|
int build_kill_list(const TString& m, TString_array& a,
|
|
const char* s = NULL, bool agg = FALSE);
|
|
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);
|
|
|
|
bool demo() { return get_bool("Demo", "Main"); }
|
|
const TString& version(const char* module);
|
|
int patch(const char* module);
|
|
void version_info(const char* module,
|
|
int& year, int& release, int& tag, int& patch);
|
|
bool update_prices(const char* src_ini);
|
|
void prices(const char* module, word users, real& full, real& manut, bool correct_ass=TRUE);
|
|
|
|
static const char* default_name() { return "install.ini"; }
|
|
|
|
TInstall_ini() : TConfig("install.ini", "Main") { }
|
|
TInstall_ini(const char* path) : TConfig(path, "Main") { }
|
|
TInstall_ini(const char* path, const char * paragraph) : TConfig(path, paragraph) { }
|
|
virtual ~TInstall_ini() { }
|
|
};
|
|
|
|
#endif
|