diff options
| -rw-r--r-- | plugins/SplashScreen/src/headers.h | 3 | ||||
| -rw-r--r-- | plugins/SplashScreen/src/main.cpp | 13 | ||||
| -rw-r--r-- | plugins/SplashScreen/src/services.cpp | 26 | 
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 | 
