Aggiunto settaggio poarametro EdMask nel CONFIG
git-svn-id: svn://10.65.10.50/trunk@5499 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
937fcbfe58
commit
27476a98e3
@ -9,6 +9,7 @@ class TParametri_stat : public TConfig_application
|
||||
|
||||
protected:
|
||||
virtual bool postprocess_config_changed (const char*, const char*, const char*, const char*);
|
||||
virtual bool user_create();
|
||||
virtual bool user_destroy();
|
||||
|
||||
public:
|
||||
@ -21,6 +22,14 @@ bool TParametri_stat::postprocess_config_changed (const char*, const char*, cons
|
||||
return _ask_update = TRUE;
|
||||
}
|
||||
|
||||
bool TParametri_stat::user_create()
|
||||
{
|
||||
TConfig cd(CONFIG_DITTA,"sv");
|
||||
if (cd.get("EdMask").empty())
|
||||
cd.set("EdMask","sv0400a","sv");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool TParametri_stat::user_destroy()
|
||||
{
|
||||
if (_ask_update)
|
||||
|
Loading…
x
Reference in New Issue
Block a user