diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-07 15:54:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-07 15:54:52 +0000 |
commit | fa23da25513fa2d056413cadb51ae3fadc3b5e5d (patch) | |
tree | 3df6a68d7bb9b0dc4fbc7313a5d7ba4cf356876a /include/m_clistint.h | |
parent | 89edcbf870653ff219eb57565383ce708d14783b (diff) |
yaRelay included into solutions
git-svn-id: http://svn.miranda-ng.org/main/trunk@4367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clistint.h')
-rw-r--r-- | include/m_clistint.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h index 04053e77e3..55fbe34e60 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -230,12 +230,6 @@ typedef struct _menuProto #define TIM_CALLBACK (WM_USER+1857)
#define TIM_CREATE (WM_USER+1858)
-// Miranda 0.4.3.0+
-// retrieves the pointer to a CLIST_INTERFACE structure
-// NOTE: valid only for the clist clone building, not for the regular use
-
-#define MS_CLIST_RETRIEVE_INTERFACE "CList/RetrieveInterface"
-
/***************************************************************************
* CLIST_INTERFACE structure definition
***************************************************************************/
@@ -481,4 +475,13 @@ typedef struct extern CLIST_INTERFACE cli, *pcli;
+// Miranda 0.4.3.0+
+// retrieves the pointer to a CLIST_INTERFACE structure
+// NOTE: valid only for the clist clone building, not for the regular use
+
+#define MS_CLIST_RETRIEVE_INTERFACE "CList/RetrieveInterface"
+
+__forceinline CLIST_INTERFACE* mir_getCLI()
+{ return (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
+}
#endif // M_CLISTINT_H__
|