OLD | NEW |
| (Empty) |
1 #ifndef _PLUGIN_SELFTEST_H_ | |
2 #define _PLUGIN_SELFTEST_H_ | |
3 | |
4 | |
5 #if (defined ENABLE_DEBUG_SELFTEST) | |
6 | |
7 class CPluginSelftest | |
8 { | |
9 | |
10 private: | |
11 | |
12 static CComAutoCriticalSection s_criticalSectionLocal; | |
13 | |
14 static bool s_isSupported; | |
15 | |
16 // Private constructor used by the singleton pattern | |
17 CPluginSelftest(); | |
18 | |
19 public: | |
20 | |
21 ~CPluginSelftest(); | |
22 | |
23 static void AddText(const CStringA& text); | |
24 static void Clear(); | |
25 static bool Send(); | |
26 static bool IsFileTooLarge(); | |
27 | |
28 static void SetSupported(bool isSupported=true); | |
29 }; | |
30 | |
31 #endif // ENABLE_DEBUG_SELFTEST | |
32 | |
33 #endif // _PLUGIN_SELFTEST_H_ | |
OLD | NEW |