diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-10 13:56:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-10 13:56:09 +0000 |
commit | 1d8d61cc0a86fbd1294ddc5b07649cd477fd1de5 (patch) | |
tree | 70cb6485da2a582f2b28ac2487429b38d1d5b41f /plugins/SkypeStatusChange | |
parent | f7af320a341931e59e5b2cab1249cf103b66a2a7 (diff) |
unused atl include files removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@15320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SkypeStatusChange')
-rw-r--r-- | plugins/SkypeStatusChange/src/main.cpp | 10 | ||||
-rw-r--r-- | plugins/SkypeStatusChange/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/SkypeStatusChange/src/stdafx.h | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index b8ab4b47ba..a736c1d421 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -140,7 +140,7 @@ static void ThreadFunc(void*) }
else {
DWORD dwResult = ::MsgWaitForMultipleObjects(1, &g_hEventShutdown, FALSE, INFINITE, QS_ALLEVENTS);
- _ASSERT(WAIT_FAILED != dwResult);
+ assert(WAIT_FAILED != dwResult);
if (WAIT_OBJECT_0 == dwResult)
break;
}
@@ -240,17 +240,17 @@ int SSC_OnPreShutdown(WPARAM/* wParam*/, LPARAM/* lParam*/) {
g_bMirandaIsShutdown = true;
BOOL b = SetEvent(g_hEventShutdown);
- _ASSERT(b && "SetEvent failed");
+ assert(b && "SetEvent failed");
DWORD dwResult = ::WaitForSingleObject(g_hThread, INFINITE);
- _ASSERT(WAIT_FAILED != dwResult);
+ assert(WAIT_FAILED != dwResult);
b = ::CloseHandle(g_hEventShutdown);
- _ASSERT(b && "CloseHandle event");
+ assert(b && "CloseHandle event");
if (g_wndMainWindow) {
b = DestroyWindow(g_wndMainWindow);
- _ASSERT(b && "DestoryWindow");
+ assert(b && "DestoryWindow");
g_wndMainWindow = NULL;
}
diff --git a/plugins/SkypeStatusChange/src/options.cpp b/plugins/SkypeStatusChange/src/options.cpp index 56571b3e55..a600cb3e12 100644 --- a/plugins/SkypeStatusChange/src/options.cpp +++ b/plugins/SkypeStatusChange/src/options.cpp @@ -145,7 +145,7 @@ inline ETreeCheckBoxState tree_get_state_image(HWND hwndTree,HTREEITEM hti) return static_cast<ETreeCheckBoxState>(nState);
}
- _ASSERT(!"we should never get here!");
+ assert(!"we should never get here!");
return TCBS_UNCHECKED;
}
diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h index 934eccdbb4..307fa73413 100644 --- a/plugins/SkypeStatusChange/src/stdafx.h +++ b/plugins/SkypeStatusChange/src/stdafx.h @@ -2,8 +2,6 @@ #include <stdio.h>
#include <tchar.h>
#include <assert.h>
-#include <atlbase.h>
-#include <atlconv.h>
#include <commctrl.h>
#include <newpluginapi.h>
|