summaryrefslogtreecommitdiff
path: root/splashscreen/src/headers.h
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 15:08:20 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 15:08:20 +0000
commit04209d6e6d0e33082d82c5ff33bfdb0b3bc40c36 (patch)
treee204437f04c80bbd5afea46ec914fffcfc42e95b /splashscreen/src/headers.h
parent0a6b3eb280b298dc485d60155e6958185501225f (diff)
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
Diffstat (limited to 'splashscreen/src/headers.h')
-rw-r--r--splashscreen/src/headers.h64
1 files changed, 42 insertions, 22 deletions
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 <stdio.h>
#include <commctrl.h>
#include <time.h>
+#include <mmsystem.h>
+
+// Miranda API headers
+#include <win2k.h>
+#include <newpluginapi.h>
+#include <m_database.h>
+#include <m_options.h>
+#include <m_utils.h>
+#include <m_langpack.h>
+#include <m_system.h>
+#include <m_png.h>
+#include "m_updater.h"
+#include "m_splash.h"
+
+// Common headers
+#include "version.h"
+#include "resource.h"
+#include "bitmap_funcs.h"
+
+#ifdef _DEBUG
+ #include <m_clist.h>
+ #include <m_skin.h>
+ #include <m_popup.h>
+ #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 <newpluginapi.h>
-#include <m_database.h>
-#include <m_options.h>
-#include <m_utils.h>
-#include <m_langpack.h>
-#include <m_system.h>
-#include <m_png.h>
-#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 <m_clist.h>
-#include <m_skin.h>
-#include <m_popup.h>
-#include "debug.h"
+ extern INT_PTR TestService(WPARAM wParam,LPARAM lParam);
#endif
#endif //HEADERS_H