Added LGPL standard comment, and copyright notices where necessary.
[wine] / programs / view / globals.h
1 /*
2  * Copyright 1998 Douglas Ridgway
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 /* for SMALL_RECT */
20 #include "wincon.h" 
21 #include "resource.h" 
22
23 /*  Add global function prototypes here */
24
25 BOOL InitApplication(HINSTANCE);
26 BOOL InitInstance(HINSTANCE, int);
27 BOOL CenterWindow(HWND, HWND);
28
29 /* Add new callback function prototypes here  */
30
31 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
32
33 /* Global variable declarations */
34
35 extern HINSTANCE hInst;          /* The current instance handle */
36 extern char      szAppName[];    /* The name of this application */
37 extern char      szTitle[];      /* The title bar text */
38
39
40 #include "pshpack1.h"
41 typedef struct
42 {
43         DWORD           key;
44         WORD            hmf;
45         SMALL_RECT      bbox;
46         WORD            inch;
47         DWORD           reserved;
48         WORD            checksum;
49 } APMFILEHEADER;
50
51 #define APMHEADER_KEY   0x9AC6CDD7l
52
53 #include "poppack.h"