diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 21:08:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 21:08:07 +0000 |
commit | 1451c41ce6f6f6921c70bcfe0aea52ae48ffc515 (patch) | |
tree | e8c14705efd2f25040889f2a0724d32bc8322f94 /plugins/CmdLine/src/CmdLine.cpp | |
parent | 9a9cd8e08881b8740e58a703e3b44328cef00c88 (diff) |
removed not needed interfaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@3492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/src/CmdLine.cpp')
-rw-r--r-- | plugins/CmdLine/src/CmdLine.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/plugins/CmdLine/src/CmdLine.cpp b/plugins/CmdLine/src/CmdLine.cpp index ae044469d2..58e672274e 100644 --- a/plugins/CmdLine/src/CmdLine.cpp +++ b/plugins/CmdLine/src/CmdLine.cpp @@ -33,25 +33,23 @@ PLUGININFOEX pluginInfo = { __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
- UNICODE_AWARE, //unicode aware
- {0x2f1a117c, 0x3c1b, 0x4c01, {0x89, 0xea, 0x6d, 0x8f, 0xd8, 0x5a, 0x9b, 0x4c}} //{2f1a117c-3c1b-4c01-89ea-6d8fd85a9b4c}
-}; //not used
+ UNICODE_AWARE,
+ // {2f1a117c-3c1b-4c01-89ea-6d8fd85a9b4c}
+ {0x2f1a117c, 0x3c1b, 0x4c01, {0x89, 0xea, 0x6d, 0x8f, 0xd8, 0x5a, 0x9b, 0x4c}}
+};
extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_CMDLINE, MIID_LAST};
-
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
-// InitServices();
if (InitServer())
{
- MessageBox(0, "Could not initialize CmdLine plugin property", "Error", MB_ICONEXCLAMATION | MB_OK);
+ MessageBox(0, TranslateT("Could not initialize CmdLine plugin property"), TranslateT("Error"), MB_ICONEXCLAMATION | MB_OK);
}
HookEvents();
@@ -73,10 +71,5 @@ extern "C" int __declspec(dllexport) Unload() bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
hInstance = hinstDLL;
- if (fdwReason == DLL_PROCESS_ATTACH)
- {
- DisableThreadLibraryCalls(hinstDLL);
- }
-
return TRUE;
}
\ No newline at end of file |