campo-sirio/ba/ba1600.h
luca b8d7995171 Patch level :
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@19546 c028cbd2-c16b-5b4b-a496-9718f37d4682
2009-10-29 16:40:04 +00:00

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(CONFIG_GENERAL, "Main") { }
TInstall_ini(const char* path) : TConfig(path, "Main") { }
TInstall_ini(const char* path, const char * paragraph) : TConfig(path, paragraph) { }
virtual ~TInstall_ini() { }
};
#endif