| OLD | NEW |
| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 static bool IsValidDomain(const CString& domain); | 70 static bool IsValidDomain(const CString& domain); |
| 71 static CString& UnescapeUrl(CString& url); | 71 static CString& UnescapeUrl(CString& url); |
| 72 | 72 |
| 73 static void LogPluginError(DWORD errorCode, int errorId, int errorSubid, const
CString& description="", bool isAsync=false, DWORD dwProcessId=0, DWORD dwThrea
dId=0); | 73 static void LogPluginError(DWORD errorCode, int errorId, int errorSubid, const
CString& description="", bool isAsync=false, DWORD dwProcessId=0, DWORD dwThrea
dId=0); |
| 74 | 74 |
| 75 static void PostPluginError(int errorId, int errorSubid, DWORD errorCode, cons
t CString& errorDescription); | 75 static void PostPluginError(int errorId, int errorSubid, DWORD errorCode, cons
t CString& errorDescription); |
| 76 static bool PopFirstPluginError(CPluginError& pluginError); | 76 static bool PopFirstPluginError(CPluginError& pluginError); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 /** |
| 80 * Wrapper around Microsoft API 'UrlUnescape' |
| 81 * |
| 82 * This function has modify-in-place semantics. |
| 83 * This behavior matches that of the legacy version of this function declared ab
ove. |
| 84 * At present, callers of this function have no code to handle error conditions
that might arise here. |
| 85 * Because there's no error handling, therefore, this masks failures in UrlUnesc
ape. |
| 86 */ |
| 87 void UnescapeUrl(std::wstring& url); |
| 79 | 88 |
| 80 #endif // _PLUGIN_CLIENT_BASE_H_ | 89 #endif // _PLUGIN_CLIENT_BASE_H_ |
| OLD | NEW |