diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-04 19:11:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-04 19:11:17 +0000 |
commit | d7f143dba9e53347a1d7897bcd3989751c7f45f8 (patch) | |
tree | bb464bed05487cb48d2221dee5840d943fa0b8d1 /src/core/miranda.h | |
parent | 3f918fb53343d815ba8736735d1c0beea2359b15 (diff) |
wiping objects during dynamic plugin unload
git-svn-id: http://svn.miranda-ng.org/main/trunk@762 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/miranda.h')
-rw-r--r-- | src/core/miranda.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/core/miranda.h b/src/core/miranda.h index 8b7d5769db..3446fc0a72 100644 --- a/src/core/miranda.h +++ b/src/core/miranda.h @@ -115,6 +115,14 @@ extern LPFN_WSAADDRESSTOSTRINGA MyWSAAddressToString; void PushFileEvent(HANDLE hContact, HANDLE hdbe, LPARAM lParam);
+/**** fontService.cpp ******************************************************************/
+
+void KillModuleFonts(int hLangpack);
+void KillModuleColours(int hLangpack);
+void KillModuleEffects(int hLangpack);
+void KillModuleHotkeys(int hLangpack);
+void KillModuleSounds(int hLangpack);
+
/**** miranda.cpp **********************************************************************/
extern HINSTANCE hInst;
@@ -143,6 +151,8 @@ HICON IcoLib_GetIconByHandle(HANDLE hItem, bool big); HANDLE IcoLib_IsManaged(HICON hIcon);
int IcoLib_ReleaseIcon(HICON hIcon, char* szIconName, bool big);
+void KillModuleIcons(int hLangpack);
+
/**** skinicons.cpp ********************************************************************/
HICON LoadSkinProtoIcon(const char* szProto, int status, bool big = false);
@@ -178,6 +188,8 @@ extern const int skinIconStatusFlags[ MAX_STATUS_COUNT ]; int TryProcessDoubleClick(HANDLE hContact);
+void KillModuleMenus(int hLangpack);
+
/**** protocols.cpp *********************************************************************/
#define OFFSET_PROTOPOS 200
@@ -224,7 +236,7 @@ public: StrConvUT(const char* pSrc) :
m_body(mir_a2u(pSrc)) {}
- ~StrConvUT() { mir_free(m_body); }
+ ~StrConvUT() { mir_free(m_body); }
operator const wchar_t* () const { return m_body; }
};
@@ -237,7 +249,7 @@ public: StrConvAT(const wchar_t* pSrc) :
m_body(mir_u2a(pSrc)) {}
- ~StrConvAT() { mir_free(m_body); }
+ ~StrConvAT() { mir_free(m_body); }
operator const char* () const { return m_body; }
operator const wchar_t* () const { return (wchar_t*)m_body; } // type cast to fake the interface definition
operator const LPARAM () const { return (LPARAM)m_body; }
|