diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-18 23:20:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-18 23:20:51 +0000 |
commit | 7a2c6126cd995cfdbd5f3167609cd7e09ffacf35 (patch) | |
tree | 5abf4493f0b3bb435c5604fbdba453acfcc1e066 /include/m_skin.h | |
parent | 7984eb187eec59c96ce661e85575ee2cbf5b386e (diff) |
useless junk removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@66 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_skin.h')
-rw-r--r-- | include/m_skin.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/m_skin.h b/include/m_skin.h index 22c36ff11a..1b6880b210 100644 --- a/include/m_skin.h +++ b/include/m_skin.h @@ -140,15 +140,11 @@ typedef struct { const char *pszSection; // [TRANSLATED-BY-CORE] section name used to group sounds (NULL is acceptable) (added during 0.3.4+ (2004/10/*))
const TCHAR *ptszSection;
};
- #if MIRANDA_VER >= 0x0900
- DWORD dwFlags;
- #endif
+ DWORD dwFlags;
} SKINSOUNDDESCEX;
#define SKINSOUNDDESC_SIZE_V1 (offsetof(SKINSOUNDDESCEX, pszSection))
-#if MIRANDA_VER >= 0x0900
#define SKINSOUNDDESC_SIZE_V2 (offsetof(SKINSOUNDDESCEX, dwFlags))
-#endif
// Old struct pre 0.3.4
typedef struct {
@@ -184,7 +180,6 @@ __inline static INT_PTR SkinAddNewSound(const char *name,const char *description }
// 0.9.0+
-#if MIRANDA_VER >= 0x0900
__inline static INT_PTR SkinAddNewSoundExT(const char *name,const TCHAR *section,const TCHAR *description)
{
SKINSOUNDDESCEX ssd = { 0 };
@@ -206,7 +201,6 @@ __inline static INT_PTR SkinAddNewSoundT(const char *name,const TCHAR *descripti ssd.ptszDefaultFile=defaultFile;
return CallService(MS_SKIN_ADDNEWSOUND, 0, (LPARAM)&ssd);
}
-#endif
//play a named sound event
//wParam=0
|