summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-04-10 09:31:55 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-04-10 09:31:55 +0000
commit21320c54ea3448805d4af6035a78b41fdd9b0ce3 (patch)
treef9a9807fe9a110f66b60d6c2609f4fd4558168ab /plugins/SplashScreen
parentb9051f766302fdeea017c1d15c79ade9bedffbf9 (diff)
Remove not needed debug service
git-svn-id: http://svn.miranda-ng.org/main/trunk@8917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r--plugins/SplashScreen/src/headers.h3
-rw-r--r--plugins/SplashScreen/src/main.cpp13
-rw-r--r--plugins/SplashScreen/src/services.cpp26
3 files changed, 0 insertions, 42 deletions
diff --git a/plugins/SplashScreen/src/headers.h b/plugins/SplashScreen/src/headers.h
index b080917889..9122a377e5 100644
--- a/plugins/SplashScreen/src/headers.h
+++ b/plugins/SplashScreen/src/headers.h
@@ -88,8 +88,5 @@ extern int OptInit(WPARAM wParam, LPARAM lParam);
extern BOOL ShowSplash(BOOL bpreview);
extern VOID ReadDbConfig();
extern INT_PTR ShowSplashService(WPARAM wparam,LPARAM lparam);
-#ifdef _DEBUG
- extern INT_PTR TestService(WPARAM wParam,LPARAM lParam);
-#endif
#endif //HEADERS_H
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp
index 4dc31a6f1d..010e8a81fe 100644
--- a/plugins/SplashScreen/src/main.cpp
+++ b/plugins/SplashScreen/src/main.cpp
@@ -290,19 +290,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
CreateServiceFunction(MS_SHOWSPLASH, ShowSplashService);
#ifdef _DEBUG
- CreateServiceFunction("Splash/Test", TestService);
-
- CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIF_TCHAR;
- mi.hIcon = LoadSkinnedIcon(SKINICON_OTHER_MIRANDA);
- mi.hotKey = 0;
- mi.position = -0x7FFFFFFF;
- mi.ptszName = LPGENT("Call Splash Service");
- mi.pszService = "Splash/Test";
- Menu_AddMainMenuItem(&mi);
- #endif
-
- #ifdef _DEBUG
logMessage(_T("Loading modules"), _T("done"));
#endif
diff --git a/plugins/SplashScreen/src/services.cpp b/plugins/SplashScreen/src/services.cpp
index 010094f8bf..ecf9821208 100644
--- a/plugins/SplashScreen/src/services.cpp
+++ b/plugins/SplashScreen/src/services.cpp
@@ -41,29 +41,3 @@ INT_PTR ShowSplashService(WPARAM wparam,LPARAM lparam)
return 0;
}
-
-#ifdef _DEBUG
-INT_PTR TestService(WPARAM wParam,LPARAM lParam)
-{
- TCHAR szTempPath[MAX_PATH];
-
- OPENFILENAME ofn={0};
- ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
- TCHAR tmp[MAX_PATH];
- mir_sntprintf(tmp, SIZEOF(tmp), _T("%s (*.png, *.bmp)%c*.png;*.bmp%c%c"), TranslateT("Graphic files"), 0, 0, 0);
- ofn.lpstrFilter = tmp;
- ofn.hwndOwner=0;
- ofn.lpstrFile = szTempPath;
- ofn.nMaxFile = MAX_PATH;
- ofn.nMaxFileTitle = MAX_PATH;
- ofn.Flags = OFN_HIDEREADONLY;
- ofn.lpstrInitialDir = szSplashFile;
- *szTempPath = '\0';
- ofn.lpstrDefExt = _T("");
-
- if (GetOpenFileName(&ofn))
- CallService(MS_SHOWSPLASH,(WPARAM)szTempPath,0);
-
- return 0;
-}
-#endif \ No newline at end of file