diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-29 14:12:40 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-29 14:12:40 +0000 |
commit | 3c8c91e6df3fae6a4290aeeedc0170731f672320 (patch) | |
tree | c6f75d31c2705e20e06a9c6682fd2e14b5fdf6fa /plugins/New_GPG/src | |
parent | f513f611c525310554d153aa1fe02d06a40ea49f (diff) |
- muuid standardization (patch from Basil)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3338 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-x | plugins/New_GPG/src/init.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/New_GPG/src/init.cpp b/plugins/New_GPG/src/init.cpp index 2abe389d1e..3b6c662032 100755 --- a/plugins/New_GPG/src/init.cpp +++ b/plugins/New_GPG/src/init.cpp @@ -33,7 +33,6 @@ bool gpg_valid = false, gpg_keyexist = false; std::map<HANDLE, contact_data> hcontact_data;
-#define MIID_GPG { 0x4227c050, 0x8d97, 0x48d2, { 0x91, 0xec, 0x6a, 0x95, 0x2b, 0x3d, 0xab, 0x94 } }
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -44,8 +43,9 @@ PLUGININFOEX pluginInfo={ "sss123next@list.ru",
"© 2010-2012 sss",
"http://sss.chaoslab.ru/tracker/mim_plugs/",
- 1, //unicode
- MIID_GPG
+ UNICODE_AWARE,
+ // {4227c050-8d97-48d2-91ec-6a952b3dab94}
+ { 0x4227c050, 0x8d97, 0x48d2, { 0x91, 0xec, 0x6a, 0x95, 0x2b, 0x3d, 0xab, 0x94 } }
};
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
@@ -60,11 +60,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-static const MUUID interfaces[] = {MIID_GPG, MIID_LAST};
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
INT_PTR LoadKey(WPARAM w, LPARAM l);
INT_PTR ToggleEncryption(WPARAM w, LPARAM l);
|