Subversion Repositories tpanel

Rev

Rev 390 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 390 Rev 400
Line 149... Line 149...
149
        static void saveButtonCache(size_t size);
149
        static void saveButtonCache(size_t size);
150
        static void savePassword1(const std::string& pw);
150
        static void savePassword1(const std::string& pw);
151
        static void savePassword2(const std::string& pw);
151
        static void savePassword2(const std::string& pw);
152
        static void savePassword3(const std::string& pw);
152
        static void savePassword3(const std::string& pw);
153
        static void savePassword4(const std::string& pw);
153
        static void savePassword4(const std::string& pw);
-
 
154
        static void setUserPassword(const std::string& user, const std::string& pw);
-
 
155
        static std::string getUserPassword(const std::string& user);
-
 
156
        static void clearUserPassword(const std::string& user);
-
 
157
        static void clearUserPasswords();
154
        static void saveSystemSoundFile(const std::string& snd);
158
        static void saveSystemSoundFile(const std::string& snd);
155
        static void saveSystemSoundState(bool state);
159
        static void saveSystemSoundState(bool state);
156
        static void saveSingleBeepFile(const std::string& snd);
160
        static void saveSingleBeepFile(const std::string& snd);
157
        static void saveDoubleBeepFile(const std::string& snd);
161
        static void saveDoubleBeepFile(const std::string& snd);
158
        static void saveSystemVolume(int volume);
162
        static void saveSystemVolume(int volume);
Line 193... Line 197...
193
    private:
197
    private:
194
        static uint logLevelStrToBits(const std::string& level);
198
        static uint logLevelStrToBits(const std::string& level);
195
        static std::string logLevelBitsToString(uint level);
199
        static std::string logLevelBitsToString(uint level);
196
        static std::string sipFirewallToString(SIP_FIREWALL_t fw);
200
        static std::string sipFirewallToString(SIP_FIREWALL_t fw);
197
        static SIP_FIREWALL_t sipFirewallStrToEnum(const std::string& str);
201
        static SIP_FIREWALL_t sipFirewallStrToEnum(const std::string& str);
-
 
202
        static void writeUserPasswords();
-
 
203
        void readUserPasswords();
198
        bool findConfig();
204
        bool findConfig();
199
        bool readConfig();
205
        bool readConfig();
200
        std::vector<std::string> split(const std::string& str, const std::string& seps, const bool trimEmpty);
206
        std::vector<std::string> split(const std::string& str, const std::string& seps, const bool trimEmpty);
201
        static int caseCompare(const std::string& str1, const std::string& str2);
207
        static int caseCompare(const std::string& str1, const std::string& str2);
202
        static std::string makeConfigDefault(const std::string& log, const std::string& project);
208
        static std::string makeConfigDefault(const std::string& log, const std::string& project);