return 0;
}
//-----------------------------------------------------------------------------
-uint16_t STG_CONFIG_SETTINGS::GetPort()
+uint16_t STG_CONFIG_SETTINGS::GetPort() const
{
return port;
}
}
//-----------------------------------------------------------------------------
STG_CONFIG::STG_CONFIG()
+ : nonstop(false),
+ isRunning(false),
+ users(NULL),
+ admins(NULL),
+ tariffs(NULL),
+ store(NULL),
+ stgSettings(NULL)
{
-isRunning = false;
-nonstop = false;
}
//-----------------------------------------------------------------------------
void STG_CONFIG::SetUsers(USERS * u)