diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-10 05:46:20 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-10 05:46:20 +0000 |
commit | bc314fb66bc0db2ad53630da92809d1d33052d9e (patch) | |
tree | ecb1def77d50eeb860b0ae2cc59dc058a72b4a59 /plugins | |
parent | bf9f9eb00891cc42afe4c0380fb2cf938ac955d9 (diff) |
removed not needed interfaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@3516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ExternalAPI/m_userinfoex.h | 12 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/init.cpp | 23 |
2 files changed, 2 insertions, 33 deletions
diff --git a/plugins/ExternalAPI/m_userinfoex.h b/plugins/ExternalAPI/m_userinfoex.h index e79010ae33..2bcd7ec9e2 100644 --- a/plugins/ExternalAPI/m_userinfoex.h +++ b/plugins/ExternalAPI/m_userinfoex.h @@ -22,18 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _M_USERINFOEX_H_
#define _M_USERINFOEX_H_
/*************************************************************
- * Interfaces Module
- */
-
-// {9C23A24B-E6AA-43c6-B0B8-D6C36D2F7B57}
-#define MIID_UIUSERINFOEX { 0x9c23a24b, 0xe6aa, 0x43c6, { 0xb0, 0xb8, 0xd6, 0xc3, 0x6d, 0x2f, 0x7b, 0x57 } }
-// {17DBD7C9-450E-4000-BFB4-908A7EF4CE72}
-#define MIID_CONTACTINFO { 0x17dbd7c9, 0x450e, 0x4000, { 0xbf, 0xb4, 0x90, 0x8a, 0x7e, 0xf4, 0xce, 0x72 } }
-// {02E890BD-278D-4890-918D-AB2CF5DC50BD}
-#define MIID_REMINDER { 0x2e890bd, 0x278d, 0x4890, { 0x91, 0x8d, 0xab, 0x2c, 0xf5, 0xdc, 0x50, 0xbd } }
-
-
-/*************************************************************
* PropertySheetPage Module
*/
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp index dcf424e4ac..8890c9bd51 100644 --- a/plugins/UserInfoEx/src/init.cpp +++ b/plugins/UserInfoEx/src/init.cpp @@ -53,7 +53,8 @@ static PLUGININFOEX pluginInfo = { __COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- MIID_UIUSERINFOEX
+ // {9C23A24B-E6AA-43c6-B0B8-D6C36D2F7B57}
+ {0x9c23a24b, 0xe6aa, 0x43c6, {0xb0, 0xb8, 0xd6, 0xc3, 0x6d, 0x2f, 0x7b, 0x57}}
};
static HANDLE ghModulesLoadedHook = NULL;
@@ -151,21 +152,6 @@ static INT OnShutdown(WPARAM wParam, LPARAM lParam) return 0;
}
-static BOOL CoreCheck()
-{
- BOOL bOk = TRUE;
-
- TCHAR tszExePath[1024];
- GetModuleFileName(GetModuleHandle(NULL), tszExePath, SIZEOF(tszExePath));
- _tcslwr(tszExePath);
-
- bOk *= (GetVersion() & 0x80000000) == 0;
-
- bOk *= _tcsstr(_tcsrchr(tszExePath, '\\'), _T("miranda")) != 0;
- bOk *= myGlobals.mirandaVersion < PLUGIN_MAKE_VERSION(1,0,0,0);
- return bOk;
-}
-
/*
============================================================================================
plugin interface & DllEntrypoint
@@ -190,10 +176,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda **/
extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {
- MIID_UIUSERINFOEX, // this is just me
MIID_UIUSERINFO, // replace the default userinfo module
- MIID_CONTACTINFO, // indicate, that MS_CONTACT_GETCONTACTINFO service is provided
- MIID_REMINDER, // indicate an Reminder of being provided
MIID_SREMAIL, // Send/Receive E-Mail service is provided
MIID_LAST
};
@@ -216,8 +199,6 @@ extern "C" INT __declspec(dllexport) Unload(VOID) extern "C" INT __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
- if ( !CoreCheck())
- return 1;
// init common controls
INITCOMMONCONTROLSEX ccEx;
|