summaryrefslogtreecommitdiff
path: root/splashscreen/src/splash.h
blob: a6083438e3a3c40ec14a6e1a026f1bd55f7f0a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
   Splash Screen Plugin for Miranda-IM (www.miranda-im.org)
   (c) 2004-2007 nullbie, (c) 2005-2007 Thief

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

   File name      : $URL: http://svn.miranda.im/mainrepo/splashscreen/trunk/src/splash.h $
   Revision       : $Rev: 1585 $
   Last change on : $Date: 2010-04-09 12:13:29 +0300 (Пт, 09 апр 2010) $
   Last change by : $Author: ghazan $

*/

#ifndef __splash_h__
#define __splash_h__

extern char szSplashFile[MAX_PATH], szSoundFile[MAX_PATH];
extern bool bserviceinvoked, bmodulesloaded;
bool bpreviewruns;
extern char *mirandaVerString;
extern char szPrefix[128];
extern HANDLE hSplashThread;
extern HINSTANCE hInst;
int SplashThread(void *);
HWND hwndSplash;
MyBitmap *SplashBmp, *tmpBmp;

BOOL (WINAPI *MyUpdateLayeredWindow)
   (HWND hwnd, HDC hdcDST, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc,
    COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags);

#endif // __splash_h__