diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
commit | ce6e5ab03d58151c4eda36d05a8436d337b2d3c0 (patch) | |
tree | 4743bda7441f8093cb0a31d4141e77cb5cfbc174 /include/m_icolib.h | |
parent | f627d0bf7a1978a9b8360ada9c199ba9667977b1 (diff) |
removed clutch for GCC (it already exists in m_system.h)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_icolib.h')
-rw-r--r-- | include/m_icolib.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/m_icolib.h b/include/m_icolib.h index 1ec7ee74f7..5137f39edf 100644 --- a/include/m_icolib.h +++ b/include/m_icolib.h @@ -75,7 +75,7 @@ typedef struct { // lParam = (LPARAM)(SKINICONDESC*)sid;
// returns a handle to the newly added item
-__inline static HANDLE Skin_AddIcon(SKINICONDESC* si)
+__forceinline HANDLE Skin_AddIcon(SKINICONDESC* si)
{ return (HANDLE)CallService("Skin2/Icons/AddIcon", hLangpack, (LPARAM)si);
}
@@ -88,7 +88,7 @@ __inline static HANDLE Skin_AddIcon(SKINICONDESC* si) //
#define MS_SKIN2_REMOVEICON "Skin2/Icons/RemoveIcon"
-__inline static void Skin_RemoveIcon(const char* szIconName)
+__forceinline void Skin_RemoveIcon(const char* szIconName)
{ CallService(MS_SKIN2_REMOVEICON, 0, (LPARAM)szIconName);
}
@@ -101,9 +101,9 @@ __inline static void Skin_RemoveIcon(const char* szIconName) #define MS_SKIN2_GETICON "Skin2/Icons/GetIcon"
#ifdef __cplusplus
-__inline static HICON Skin_GetIcon(const char* szIconName, int size=0)
+__forceinline HICON Skin_GetIcon(const char* szIconName, int size=0)
#else
-__inline static HICON Skin_GetIcon(const char* szIconName, int size)
+__forceinline HICON Skin_GetIcon(const char* szIconName, int size)
#endif
{ return (HICON)CallService(MS_SKIN2_GETICON, size, (LPARAM)szIconName);
}
@@ -115,7 +115,7 @@ __inline static HICON Skin_GetIcon(const char* szIconName, int size) //
#define MS_SKIN2_GETICONHANDLE "Skin2/Icons/GetIconHandle"
-__inline static HANDLE Skin_GetIconHandle(const char* szIconName)
+__forceinline HANDLE Skin_GetIconHandle(const char* szIconName)
{ return (HANDLE)CallService(MS_SKIN2_GETICONHANDLE, 0, (LPARAM)szIconName);
}
@@ -128,9 +128,9 @@ __inline static HANDLE Skin_GetIconHandle(const char* szIconName) #define MS_SKIN2_GETICONBYHANDLE "Skin2/Icons/GetIconByHandle"
#ifdef __cplusplus
-__inline static HICON Skin_GetIconByHandle(HANDLE hIcolibIcon, int size=0)
+__forceinline HICON Skin_GetIconByHandle(HANDLE hIcolibIcon, int size=0)
#else
-__inline static HICON Skin_GetIconByHandle(HANDLE hIcolibIcon, int size)
+__forceinline HICON Skin_GetIconByHandle(HANDLE hIcolibIcon, int size)
#endif
{ return (HICON)CallService(MS_SKIN2_GETICONBYHANDLE, size, (LPARAM)hIcolibIcon);
}
@@ -151,14 +151,14 @@ __inline static HICON Skin_GetIconByHandle(HANDLE hIcolibIcon, int size) //
#define MS_SKIN2_RELEASEICON "Skin2/Icons/ReleaseIcon"
-__inline static void Skin_ReleaseIcon(const char* szIconName)
+__forceinline void Skin_ReleaseIcon(const char* szIconName)
{ CallService(MS_SKIN2_RELEASEICON, 0, (LPARAM)szIconName);
}
#ifdef __cplusplus
-__inline static void Skin_ReleaseIcon(HICON hIcon)
+__forceinline void Skin_ReleaseIcon(HICON hIcon)
#else
-__inline static void Skin_ReleaseIcon2(HICON hIcon)
+__forceinline void Skin_ReleaseIcon2(HICON hIcon)
#endif
{ CallService(MS_SKIN2_RELEASEICON, (WPARAM)hIcon, 0);
}
|