1 #ifndef __TEST_AUTH_H__
2 #define __TEST_AUTH_H__
6 class TEST_AUTH : public AUTH {
10 void SetUsers(USERS * /*u*/) {}
11 void SetTariffs(TARIFFS * /*t*/) {}
12 void SetAdmins(ADMINS * /*a*/) {}
13 void SetTraffcounter(TRAFFCOUNTER * /*tc*/) {}
14 void SetStore(STORE * /*st*/) {}
15 void SetStgSettings(const SETTINGS * /*s*/) {}
16 void SetSettings(const MODULE_SETTINGS & /*s*/) {}
17 int ParseSettings() { return 0; }
19 int Start() { return 0; }
20 int Stop() { return 0; }
21 int Reload(const MODULE_SETTINGS&) { return 0; }
22 bool IsRunning() { return true; }
23 const std::string & GetStrError() const { return strError; }
24 std::string GetVersion() const { return ""; }
25 uint16_t GetStartPosition() const { return 0; }
26 uint16_t GetStopPosition() const { return 0; }
28 int SendMessage(const STG_MSG & /*msg*/, uint32_t /*ip*/) const { return 0; }