| OLD | NEW |
| 1 /** | 1 /** |
| 2 * This class contains all client functionality of the IE plugin | 2 * This class contains all client functionality of the IE plugin |
| 3 * | 3 * |
| 4 * Exception errors are tested by calls to ExceptionsTest from: Main ... | 4 * Exception errors are tested by calls to ExceptionsTest from: Main ... |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef _PLUGIN_SETTINGS_H_ | 7 #ifndef _PLUGIN_SETTINGS_H_ |
| 8 #define _PLUGIN_SETTINGS_H_ | 8 #define _PLUGIN_SETTINGS_H_ |
| 9 | 9 |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 class CPluginSettings | 51 class CPluginSettings |
| 52 { | 52 { |
| 53 | 53 |
| 54 public: | 54 public: |
| 55 | 55 |
| 56 typedef std::map<CString, CString> TProperties; | 56 typedef std::map<CString, CString> TProperties; |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 | 59 |
| 60 bool m_isFirstRun; | |
| 61 | |
| 62 DWORD m_dwWorkingThreadId; | 60 DWORD m_dwWorkingThreadId; |
| 63 | 61 |
| 64 CString m_settingsVersion; | 62 CString m_settingsVersion; |
| 65 | 63 |
| 66 static CComAutoCriticalSection s_criticalSectionLocal; | 64 static CComAutoCriticalSection s_criticalSectionLocal; |
| 67 | 65 |
| 68 void Clear(); | 66 void Clear(); |
| 69 | 67 |
| 70 // Private constructor used by the singleton pattern | 68 // Private constructor used by the singleton pattern |
| 71 CPluginSettings(); | 69 CPluginSettings(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 82 static CString GetDataPath(const CString& filename=L""); | 80 static CString GetDataPath(const CString& filename=L""); |
| 83 | 81 |
| 84 bool IsPluginEnabled() const; | 82 bool IsPluginEnabled() const; |
| 85 | 83 |
| 86 std::map<CString, CString> GetFilterLanguageTitleList() const; | 84 std::map<CString, CString> GetFilterLanguageTitleList() const; |
| 87 | 85 |
| 88 void SetWorkingThreadId(); | 86 void SetWorkingThreadId(); |
| 89 void SetWorkingThreadId(DWORD id); | 87 void SetWorkingThreadId(DWORD id); |
| 90 bool IsWorkingThread(DWORD dwThread=0) const; | 88 bool IsWorkingThread(DWORD dwThread=0) const; |
| 91 | 89 |
| 92 void SetFirstRun(); | |
| 93 bool IsFirstRun() const; | |
| 94 | |
| 95 static CString GetSystemLanguage(); | 90 static CString GetSystemLanguage(); |
| 96 DWORD m_WindowsBuildNumber; | 91 DWORD m_WindowsBuildNumber; |
| 97 | 92 |
| 98 private: | 93 private: |
| 99 | 94 |
| 100 bool m_isPluginEnabledTab; | 95 bool m_isPluginEnabledTab; |
| 101 | 96 |
| 102 public: | 97 public: |
| 103 | 98 |
| 104 void TogglePluginEnabled(); | 99 void TogglePluginEnabled(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 131 void SetDefaultSubscription(); | 126 void SetDefaultSubscription(); |
| 132 CString GetSubscription(); | 127 CString GetSubscription(); |
| 133 | 128 |
| 134 bool GetStatusBarAsked(); | 129 bool GetStatusBarAsked(); |
| 135 void SetStatusBarAsked(); | 130 void SetStatusBarAsked(); |
| 136 std::vector<SubscriptionDescription> m_subscriptions; | 131 std::vector<SubscriptionDescription> m_subscriptions; |
| 137 }; | 132 }; |
| 138 | 133 |
| 139 | 134 |
| 140 #endif // _PLUGIN_SETTINGS_H_ | 135 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |