| LEFT | RIGHT | 
|---|
| (no file at all) |  | 
| 1 #ifndef _PLUGIN_CLIENT_BASE_H_ | 1 #ifndef _PLUGIN_CLIENT_BASE_H_ | 
| 2 #define _PLUGIN_CLIENT_BASE_H_ | 2 #define _PLUGIN_CLIENT_BASE_H_ | 
| 3 | 3 | 
| 4 | 4 | 
| 5 #include "PluginTypedef.h" | 5 #include "PluginTypedef.h" | 
| 6 | 6 | 
| 7 | 7 | 
| 8 class CPluginClientFactory; | 8 class CPluginClientFactory; | 
| 9 | 9 | 
| 10 | 10 | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 60   CPluginClientBase(); | 60   CPluginClientBase(); | 
| 61 | 61 | 
| 62   static CComAutoCriticalSection s_criticalSectionLocal; | 62   static CComAutoCriticalSection s_criticalSectionLocal; | 
| 63 | 63 | 
| 64 public: | 64 public: | 
| 65 | 65 | 
| 66   ~CPluginClientBase(); | 66   ~CPluginClientBase(); | 
| 67 | 67 | 
| 68   static void SetLocalization(); | 68   static void SetLocalization(); | 
| 69 | 69 | 
| 70   static CString& UnescapeUrl(CString& url); |  | 
| 71 |  | 
| 72   static void LogPluginError(DWORD errorCode, int errorId, int errorSubid, const
     CString& description="", bool isAsync=false, DWORD dwProcessId=0, DWORD dwThrea
    dId=0); | 70   static void LogPluginError(DWORD errorCode, int errorId, int errorSubid, const
     CString& description="", bool isAsync=false, DWORD dwProcessId=0, DWORD dwThrea
    dId=0); | 
| 73 | 71 | 
| 74   static void PostPluginError(int errorId, int errorSubid, DWORD errorCode, cons
    t CString& errorDescription); | 72   static void PostPluginError(int errorId, int errorSubid, DWORD errorCode, cons
    t CString& errorDescription); | 
| 75   static bool PopFirstPluginError(CPluginError& pluginError); | 73   static bool PopFirstPluginError(CPluginError& pluginError); | 
| 76 }; | 74 }; | 
| 77 | 75 | 
| 78 /** | 76 /** | 
| 79  * Wrapper around Microsoft API 'UrlUnescape' | 77  * Wrapper around Microsoft API 'UrlUnescape' | 
| 80  * | 78  * | 
| 81  * This function has modify-in-place semantics. | 79  * This function has modify-in-place semantics. | 
| 82  * This behavior matches that of the legacy version of this function declared ab
    ove. | 80  * This behavior matches that of the legacy version of this function declared ab
    ove. | 
| 83  * At present, callers of this function have no code to handle error conditions 
    that might arise here. | 81  * At present, callers of this function have no code to handle error conditions 
    that might arise here. | 
| 84  * Because there's no error handling, therefore, this masks failures in UrlUnesc
    ape. | 82  * Because there's no error handling, therefore, this masks failures in UrlUnesc
    ape. | 
| 85  */ | 83  */ | 
| 86 void UnescapeUrl(std::wstring& url); | 84 void UnescapeUrl(std::wstring& url); | 
| 87 | 85 | 
| 88 #endif // _PLUGIN_CLIENT_BASE_H_ | 86 #endif // _PLUGIN_CLIENT_BASE_H_ | 
| LEFT | RIGHT | 
|---|