diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
commit | 056d2be888a4235a109a123b7b2a715aa3ff72ba (patch) | |
tree | b1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/init.cpp | |
parent | 5f03619d3bbda7a617f50ded2698cffc434dd525 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/init.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/init.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp index b8c35eae33..e7af317ef7 100644 --- a/plugins/UserInfoEx/src/init.cpp +++ b/plugins/UserInfoEx/src/init.cpp @@ -52,7 +52,7 @@ int hLangpack; *
* @return always 0
**/
-static INT OnTopToolBarLoaded(WPARAM wParam, LPARAM lParam)
+static int OnTopToolBarLoaded(WPARAM wParam, LPARAM lParam)
{
DlgAnniversaryListOnTopToolBarLoaded();
SvcReminderOnTopToolBarLoaded();
@@ -67,7 +67,7 @@ static INT OnTopToolBarLoaded(WPARAM wParam, LPARAM lParam) *
* @return always 0
**/
-static INT OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
{
myGlobals.PopUpActionsExist = ServiceExists(MS_POPUP_REGISTERACTIONS);
myGlobals.MsgAddIconExist = ServiceExists(MS_MSG_ADDICON);
@@ -103,7 +103,7 @@ static INT OnModulesLoaded(WPARAM wParam, LPARAM lParam) return 0;
}
-static INT OnShutdown(WPARAM wParam, LPARAM lParam)
+static int OnShutdown(WPARAM wParam, LPARAM lParam)
{
DlgContactInfoUnLoadModule();
SvcReminderUnloadModule();
@@ -157,7 +157,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { *
* @return 0
**/
-extern "C" INT __declspec(dllexport) Unload(VOID)
+extern "C" int __declspec(dllexport) Unload(void)
{
return 0;
}
@@ -167,7 +167,7 @@ extern "C" INT __declspec(dllexport) Unload(VOID) *
* @return 0
**/
-extern "C" INT __declspec(dllexport) Load(void)
+extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
@@ -195,8 +195,7 @@ extern "C" INT __declspec(dllexport) Load(void) return 1;
}
- if (IsWinVerVistaPlus())
- {
+ if (IsWinVerVistaPlus()) {
HMODULE hDwmApi = LoadLibraryA("dwmapi.dll");
if (hDwmApi)
dwmIsCompositionEnabled = (pfnDwmIsCompositionEnabled)GetProcAddress(hDwmApi,"DwmIsCompositionEnabled");
|