Line 92... |
Line 92... |
92 |
static std::string& getPassword2();
|
92 |
static std::string& getPassword2();
|
93 |
static std::string& getPassword3();
|
93 |
static std::string& getPassword3();
|
94 |
static std::string& getPassword4();
|
94 |
static std::string& getPassword4();
|
95 |
static std::string& getSystemSound();
|
95 |
static std::string& getSystemSound();
|
96 |
static bool getSystemSoundState();
|
96 |
static bool getSystemSoundState();
|
- |
|
97 |
static int getSystemVolume();
|
- |
|
98 |
static int getSystemGain();
|
97 |
static bool getRotationFixed();
|
99 |
static bool getRotationFixed();
|
98 |
static void setRotationFixed(bool fix);
|
100 |
static void setRotationFixed(bool fix);
|
99 |
static void setSystemChannel(int ch);
|
101 |
static void setSystemChannel(int ch);
|
100 |
static std::string& getUUID();
|
102 |
static std::string& getUUID();
|
101 |
static std::string& getSingleBeepSound();
|
103 |
static std::string& getSingleBeepSound();
|
Line 112... |
Line 114... |
112 |
static int getChannel();
|
114 |
static int getChannel();
|
113 |
static std::string& getPanelType();
|
115 |
static std::string& getPanelType();
|
114 |
static std::string& getFirmVersion();
|
116 |
static std::string& getFirmVersion();
|
115 |
static bool certCheck();
|
117 |
static bool certCheck();
|
116 |
static bool isInitialized() { return mInitialized; }
|
118 |
static bool isInitialized() { return mInitialized; }
|
- |
|
119 |
static bool getMuteState() { return mMute; }
|
- |
|
120 |
static void setMuteState(bool state) { mMute = state; }
|
117 |
|
121 |
|
118 |
static bool saveProjectPath(const std::string& path);
|
122 |
static bool saveProjectPath(const std::string& path);
|
119 |
static bool saveLogFile(const std::string& file);
|
123 |
static bool saveLogFile(const std::string& file);
|
120 |
static bool saveLogLevel(const std::string& level);
|
124 |
static bool saveLogLevel(const std::string& level);
|
121 |
static bool saveLogLevel(uint level);
|
125 |
static bool saveLogLevel(uint level);
|
Line 133... |
Line 137... |
133 |
static void savePassword2(const std::string& pw);
|
137 |
static void savePassword2(const std::string& pw);
|
134 |
static void savePassword3(const std::string& pw);
|
138 |
static void savePassword3(const std::string& pw);
|
135 |
static void savePassword4(const std::string& pw);
|
139 |
static void savePassword4(const std::string& pw);
|
136 |
static void saveSystemSoundFile(const std::string& snd);
|
140 |
static void saveSystemSoundFile(const std::string& snd);
|
137 |
static void saveSystemSoundState(bool state);
|
141 |
static void saveSystemSoundState(bool state);
|
- |
|
142 |
static void saveSingleBeepFile(const std::string& snd);
|
- |
|
143 |
static void saveDoubleBeepFile(const std::string& snd);
|
- |
|
144 |
static void saveSystemVolume(int volume);
|
- |
|
145 |
static void saveSystemGain(int gain);
|
138 |
static void saveFtpUser(const std::string& user);
|
146 |
static void saveFtpUser(const std::string& user);
|
139 |
static void saveFtpPassword(const std::string& pw);
|
147 |
static void saveFtpPassword(const std::string& pw);
|
140 |
static void saveFtpSurface(const std::string& fname);
|
148 |
static void saveFtpSurface(const std::string& fname);
|
141 |
static void saveFtpPassive(bool mode);
|
149 |
static void saveFtpPassive(bool mode);
|
142 |
static void saveFtpDownloadTime(time_t t);
|
150 |
static void saveFtpDownloadTime(time_t t);
|
Line 185... |
Line 193... |
185 |
std::string mPath;
|
193 |
std::string mPath;
|
186 |
std::string mCFile;
|
194 |
std::string mCFile;
|
187 |
std::vector<std::string> mCfgPaths;
|
195 |
std::vector<std::string> mCfgPaths;
|
188 |
static bool mInitialized;
|
196 |
static bool mInitialized;
|
189 |
static int mChannel; // If the channel was changed by a command, this variable holds the new value.
|
197 |
static int mChannel; // If the channel was changed by a command, this variable holds the new value.
|
- |
|
198 |
static bool mMute; // Holds the mute status. This is temporary!
|
190 |
#ifdef __ANDROID__
|
199 |
#ifdef __ANDROID__
|
191 |
std::string mRoot;
|
200 |
std::string mRoot;
|
192 |
#endif
|
201 |
#endif
|
193 |
};
|
202 |
};
|
194 |
|
203 |
|