}
//-----------------------------------------------------------------------------
STG_CONFIG::STG_CONFIG()
- : nonstop(false),
+ : errorStr(),
+ stgConfigSettings(),
+ thread(),
+ nonstop(false),
isRunning(false),
+ config(),
users(NULL),
admins(NULL),
tariffs(NULL),
store(NULL),
+ settings(),
stgSettings(NULL)
{
}
STG_CONFIG * stgConf = (STG_CONFIG *)d;
stgConf->isRunning = true;
-stgConf->config.Run(&stgConf->config);
+stgConf->config.Run();
stgConf->isRunning = false;
return NULL;