]> git.stg.codes - stg.git/blob - tests/testsettings.h
Some minor changes in bf stream.
[stg.git] / tests / testsettings.h
1 #ifndef __TEST_SETTINGS_H__
2 #define __TEST_SETTINGS_H__
3
4 #include "stg/settings.h"
5
6 class TEST_SETTINGS : public SETTINGS {
7     public:
8         TEST_SETTINGS() {}
9
10         const std::string & GetDirName(size_t) const { return dirName; }
11         const std::string & GetScriptsDir() const { return scriptsDir; }
12         unsigned            GetDetailStatWritePeriod() const { return 10; }
13         unsigned            GetStatWritePeriod() const { return 10; }
14         unsigned            GetDayFee() const { return 0; }
15         bool                GetFullFee() const { return false; }
16         unsigned            GetDayResetTraff() const { return 0; }
17         bool                GetSpreadFee() const { return false; }
18         bool                GetFreeMbAllowInet() const { return false; }
19         bool                GetDayFeeIsLastDay() const { return false; }
20         bool                GetWriteFreeMbTraffCost() const { return false; }
21         bool                GetShowFeeInCash() const { return false; }
22         unsigned            GetMessageTimeout() const { return 0; }
23         unsigned            GetFeeChargeType() const { return 0; }
24         bool                GetReconnectOnTariffChange() const { return false; }
25         const std::string & GetMonitorDir() const { return monitorDir; }
26         bool                GetMonitoring() const { return false; }
27         const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
28
29     private:
30         std::string dirName;
31         std::string scriptsDir;
32         std::string monitorDir;
33         std::vector<std::string> scriptParams;
34 };
35
36 #endif