#include <string>
#include <list>
-#include "os_int.h"
-#include "plugin.h"
-#include "module_settings.h"
-#include "notifer.h"
-#include "user_ips.h"
-#include "pinger.h"
-#include "users.h"
+#include "stg/os_int.h"
+#include "stg/plugin.h"
+#include "stg/module_settings.h"
+#include "stg/notifer.h"
+#include "stg/user_ips.h"
+#include "stg/pinger.h"
+#include "stg/users.h"
extern "C" PLUGIN * GetPlugin();
int ParseSettings(const MODULE_SETTINGS & s);
int GetPingDelay() const { return pingDelay; }
private:
- int ParseIntInRange(const std::string & str, int min, int max, int * val);
-
int pingDelay;
mutable std::string errorStr;
};
virtual ~PING();
void SetUsers(USERS * u);
- void SetTariffs(TARIFFS *) {}
- void SetAdmins(ADMINS *) {}
- void SetTraffcounter(TRAFFCOUNTER *) {}
- void SetStore(STORE *) {}
- void SetStgSettings(const SETTINGS *) {}
void SetSettings(const MODULE_SETTINGS & s);
int ParseSettings();