16 #ifndef AWT_CONFIG_MANAGER_HXX
17 #define AWT_CONFIG_MANAGER_HXX
19 #ifndef CONFIGMAPPING_H
29 #define awt_assert(cond) arb_assert(cond)
79 void set_entry(
const char *entry,
const char *value) {
113 void add(
const char *awar_name,
const char *config_name);
114 void add(
const char *awar_name,
const char *config_name,
int counter);
118 void write(
const char *cfgStr)
const;
142 typedef char *(*ConfigModifyCallback)(
const char *key,
const char *value,
AW_CL cl_user);
146 #error awt_config_manager.hxx included twice
147 #endif // AWT_CONFIG_MANAGER_HXX
void delete_entry(const char *entry)
void add(const char *awar_name, const char *config_name)
bool has_entry(const char *entry) const
void delete_entry(const char *entry)
void write_to_awars(const ConfigMapping &cfgname2awar, bool warn) const
char * ARB_strdup(const char *str)
char *(* ConfigModifyCallback)(const char *key, const char *value, AW_CL cl_user)
GB_ERROR parseError() const
bool has_entry(const char *entry) const
std::string config_string() const
void AWT_insert_config_manager(AW_window *aww, AW_default default_file_, const char *id, const StoreConfigCallback &store, const RestoreConfigCallback &load_or_reset, const char *macro_id=NULp, const AWT_predefined_config *predef=NULp)
void AWT_modify_managed_configs(AW_default default_file_, const char *id, ConfigModifyCallback mod_cb, AW_CL cl_user)
DECLARE_CBTYPE_FVV_AND_BUILDERS(ConfigSetupCallback, void, AWT_config_definition &)
AWT_config(const char *cfgStr)
void set_entry(const std::string &entry, const std::string &value)
void get_entries(class ConstStrArray &to_array)
void set_entry(const char *entry, const char *value)
const char * get_entry(const char *entry) const
const ConfigMapping & get_mapping() const
const char * get_entry(const char *entry) const
DECLARE_CBTYPE_VV_AND_BUILDERS(StoreConfigCallback, char *)
char * config_string() const
void write(const char *cfgStr) const