1 | /* |
---|
2 | ----------------------------------------------------------------------------- |
---|
3 | This source file is part of LEXIExporter |
---|
4 | |
---|
5 | Copyright 2006 NDS Limited |
---|
6 | |
---|
7 | Author(s): |
---|
8 | Bo Krohn |
---|
9 | |
---|
10 | This program is free software; you can redistribute it and/or modify it under |
---|
11 | the terms of the GNU Lesser General Public License as published by the Free Software |
---|
12 | Foundation; either version 2 of the License, or (at your option) any later |
---|
13 | version. |
---|
14 | |
---|
15 | This program is distributed in the hope that it will be useful, but WITHOUT |
---|
16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
---|
17 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
---|
18 | |
---|
19 | You should have received a copy of the GNU Lesser General Public License along with |
---|
20 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
---|
21 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
---|
22 | http://www.gnu.org/copyleft/lesser.txt. |
---|
23 | ----------------------------------------------------------------------------- |
---|
24 | */ |
---|
25 | |
---|
26 | // stdafx.h : include file for standard system include files, |
---|
27 | // or project specific include files that are used frequently, but |
---|
28 | // are changed infrequently |
---|
29 | // |
---|
30 | |
---|
31 | #pragma once |
---|
32 | |
---|
33 | #define _CRT_SECURE_NO_DEPRECATE |
---|
34 | |
---|
35 | // Modify the following defines if you have to target a platform prior to the ones specified below. |
---|
36 | // Refer to MSDN for the latest info on corresponding values for different platforms. |
---|
37 | #ifndef WINVER // Allow use of features specific to Windows XP or later. |
---|
38 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows. |
---|
39 | #endif |
---|
40 | |
---|
41 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. |
---|
42 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. |
---|
43 | #endif |
---|
44 | |
---|
45 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. |
---|
46 | #define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later. |
---|
47 | #endif |
---|
48 | |
---|
49 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later. |
---|
50 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE. |
---|
51 | #endif |
---|
52 | |
---|
53 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers |
---|
54 | #include <windows.h> |
---|
55 | #include <stdlib.h> |
---|
56 | #include <stdio.h> |
---|
57 | #include <commdlg.h> |
---|
58 | |
---|
59 | #include <WinDef.h> |
---|
60 | |
---|
61 | #ifdef USE_TVKIT |
---|
62 | #include <TVUtilities.h> |
---|
63 | #else |
---|
64 | #include "SharedUtilities.h" |
---|
65 | #endif |
---|
66 | |
---|
67 | #include <map> |
---|
68 | #include <string> |
---|
69 | |
---|
70 | #include "GDIMetaLib.h" |
---|
71 | // TODO: reference additional headers your program requires here |
---|