From 04209d6e6d0e33082d82c5ff33bfdb0b3bc40c36 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 24 Apr 2011 15:08:20 +0000 Subject: splashscreen: rewritten to Unicode not used mirandaboot.ini, save settings in db support mp3 code optimization version bump added open file dialog filter translation git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@19 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- splashscreen/src/headers.h | 64 ++++++++++++++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 22 deletions(-) (limited to 'splashscreen/src/headers.h') diff --git a/splashscreen/src/headers.h b/splashscreen/src/headers.h index e4b0b8a..a8cafb5 100644 --- a/splashscreen/src/headers.h +++ b/splashscreen/src/headers.h @@ -18,7 +18,7 @@ File name : $URL: http://svn.miranda.im/mainrepo/splashscreen/trunk/src/headers.h $ Revision : $Rev: 1587 $ - Last change on : $Date: 2010-04-09 13:01:30 +0300 (Пт, 09 апр 2010) $ + Last change on : $Date: 2010-04-09 14:01:30 +0400 (Пт, 09 апр 2010) $ Last change by : $Author: Thief $ */ @@ -35,11 +35,36 @@ #include #include #include +#include + +// Miranda API headers +#include +#include +#include +#include +#include +#include +#include +#include +#include "m_updater.h" +#include "m_splash.h" + +// Common headers +#include "version.h" +#include "resource.h" +#include "bitmap_funcs.h" + +#ifdef _DEBUG + #include + #include + #include + #include "debug.h" +#endif // Internal defines #define SPLASH_CLASS "MirandaSplash" +#define MODNAME "SplashScreen" #define WM_LOADED (WM_USER + 10) -#define BuildDate __DATE__" "__TIME__ struct SPLASHOPTS { @@ -58,33 +83,28 @@ struct SPLASHOPTS int fisteps; }; +extern HWND hwndSplash; extern SPLASHOPTS options; +extern TCHAR szSplashFile[MAX_PATH], szSoundFile[MAX_PATH], szPrefix[128]; +extern TCHAR *szMirDir; +extern char szVersion[MAX_PATH]; +extern BOOL bserviceinvoked, bmodulesloaded, png2dibavail; +extern HANDLE hSplashThread; +extern HINSTANCE hInst; +extern BOOL (WINAPI *MyUpdateLayeredWindow) + (HWND hwnd, HDC hdcDST, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, + COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags); // png2dib interface typedef BOOL ( *pfnConvertPng2dib )( char*, size_t, BITMAPINFOHEADER** ); extern pfnConvertPng2dib png2dibConvertor; -// Common headers -#include "version.h" -#include "resource.h" -#include "bitmap_funcs.h" -#include "m_splash.h" - -// Miranda API headers -#include -#include -#include -#include -#include -#include -#include -#include "m_updater.h" - +extern int OptInit(WPARAM wParam, LPARAM lParam); +extern BOOL ShowSplash(BOOL bpreview); +extern VOID ReadIniConfig(); +extern INT_PTR ShowSplashService(WPARAM wparam,LPARAM lparam); #ifdef _DEBUG -#include -#include -#include -#include "debug.h" + extern INT_PTR TestService(WPARAM wParam,LPARAM lParam); #endif #endif //HEADERS_H -- cgit v1.2.3