summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen/src/services.cpp
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/src/services.cpp
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/src/services.cpp')
-rw-r--r--plugins/SplashScreen/src/services.cpp26
1 files changed, 0 insertions, 26 deletions
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