diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-09 21:25:11 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-09 21:25:11 +0000 |
commit | 6ff475b2a8d7797c677b831491054b2571501229 (patch) | |
tree | 47b26b8962c961edd2fdc2a4d97c15bd9138eafd | |
parent | 15c3ae7d39013d358ff1b1df8ff04d977e314c30 (diff) |
removed not needed interfaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@3512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Sessions/Src/Main.cpp | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index 3372bb2bb0..5bb8e5d0bf 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -44,7 +44,7 @@ BOOL g_bIncompletedSave; HWND g_hDlg;
HWND g_hSDlg;
BOOL DONT = FALSE;
-BOOL StartUp,isLastTRUE = FALSE,g_mode,bSC = FALSE;
+BOOL StartUp, isLastTRUE = FALSE, g_mode,bSC = FALSE;
DWORD session_list[255] = {0};
DWORD user_session_list[255] = {0};
@@ -53,10 +53,9 @@ DWORD session_list_recovered[255]; int count = 0;
unsigned int ses_count = 0;
-
int hLangpack;
-int OptionsInit(WPARAM,LPARAM);
+int OptionsInit(WPARAM, LPARAM);
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -69,7 +68,7 @@ PLUGININFOEX pluginInfo = { __AUTHORWEB,
UNICODE_AWARE,
// {60558872-2AAB-45aa-888D-097691C9B683}
- { 0x60558872, 0x2aab, 0x45aa, { 0x88, 0x8d, 0x9, 0x76, 0x91, 0xc9, 0xb6, 0x83 } }
+ {0x60558872, 0x2aab, 0x45aa, {0x88, 0x8d, 0x9, 0x76, 0x91, 0xc9, 0xb6, 0x83}}
};
IconItem iconList[] =
@@ -997,9 +996,6 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) return 0;
}
-// {28EE6FE2-B005-4073-BA90-148203C807D0}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {{ 0x28ee6fe2, 0xb005, 0x4073, { 0xba, 0x90, 0x14, 0x82, 0x3, 0xc8, 0x7, 0xd0 } }, MIID_LAST};
-
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
@@ -1010,9 +1006,9 @@ extern "C" __declspec(dllexport) int Unload(void) return 0;
}
-BOOL WINAPI DllMain(HINSTANCE hinst,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID lpvReserved)
{
- hinstance=hinst;
+ hinstance = hinst;
return 1;
}
@@ -1020,8 +1016,8 @@ extern "C" __declspec(dllexport) int Load(void) {
mir_getLP(&pluginInfo);
- HookEvent(ME_SYSTEM_MODULESLOADED,PluginInit);
- HookEvent(ME_SYSTEM_OKTOEXIT,OkToExit);
- HookEvent(ME_SYSTEM_PRESHUTDOWN,SessionPreShutdown);
+ HookEvent(ME_SYSTEM_MODULESLOADED, PluginInit);
+ HookEvent(ME_SYSTEM_OKTOEXIT, OkToExit);
+ HookEvent(ME_SYSTEM_PRESHUTDOWN, SessionPreShutdown);
return 0;
}
|