diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-17 12:44:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-17 12:44:02 +0000 |
commit | f673f034c2fef25e932a12fbd5e2772f90c75e6d (patch) | |
tree | aeaac57c13fd2a23e47e437d804957d67e5413ee /plugins/Clist_modern/modern_callproc.cpp | |
parent | bce08282b66209eb482726a7ec6c89083db327ac (diff) |
Clist_mw & Clist_modern renamed
git-svn-id: http://svn.miranda-ng.org/main/trunk@455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_callproc.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_callproc.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/Clist_modern/modern_callproc.cpp b/plugins/Clist_modern/modern_callproc.cpp new file mode 100644 index 0000000000..ab26eb03eb --- /dev/null +++ b/plugins/Clist_modern/modern_callproc.cpp @@ -0,0 +1,20 @@ +#include "hdr/modern_commonheaders.h"
+#include "hdr/modern_callproc.h"
+
+//////////////////////////////////////////////////////////////////////////
+// standard callback proc
+int CALLBACK __DoCallBack( LPARAM pvStorage)
+{
+ call::__baseCall * storage = (call::__baseCall *) pvStorage;
+ int res=storage->__DoCallStorageProc();
+ delete storage;
+ return res;
+}
+
+//////////////////////////////////////////////////////////////////////////
+// To do: Replace __ProcessCall to switching threads etc
+// and specify _DoCallback as callback
+int call::__ProcessCall( __baseCall * pStorage, ASYNC_T async )
+{
+ return __DoCallBack( (LPARAM)pStorage);
+}
|