diff options
Diffstat (limited to 'plugins/PluginUpdater/src/stdafx.h')
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index efaf4787a3..28525666c9 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -153,7 +153,7 @@ using namespace std; extern DWORD g_mirandaVersion;
extern wchar_t g_wszRoot[MAX_PATH], g_wszTempPath[MAX_PATH];
-extern HANDLE hPipe;
+extern HANDLE g_hPipe;
extern HNETLIBUSER hNetlibUser;
extern IconItem iconList[];
@@ -181,21 +181,6 @@ void UninitListNew(void); int OptInit(WPARAM, LPARAM);
-class AutoHandle : private MNonCopyable
-{
- HANDLE &m_handle;
-
-public:
- AutoHandle(HANDLE &_handle) : m_handle(_handle) {}
- ~AutoHandle()
- {
- if (m_handle) {
- ::CloseHandle(m_handle);
- m_handle = nullptr;
- }
- }
-};
-
class ThreadWatch
{
DWORD &pId;
|