xml.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2016 The ClanLib Team
4 **
5 ** This software is provided 'as-is', without any express or implied
6 ** warranty. In no event will the authors be held liable for any damages
7 ** arising from the use of this software.
8 **
9 ** Permission is granted to anyone to use this software for any purpose,
10 ** including commercial applications, and to alter it and redistribute it
11 ** freely, subject to the following restrictions:
12 **
13 ** 1. The origin of this software must not be misrepresented; you must not
14 ** claim that you wrote the original software. If you use this software
15 ** in a product, an acknowledgment in the product documentation would be
16 ** appreciated but is not required.
17 ** 2. Altered source versions must be plainly marked as such, and must not be
18 ** misrepresented as being the original software.
19 ** 3. This notice may not be removed or altered from any source distribution.
20 **
21 ** Note: Some of the libraries ClanLib may link to may have additional
22 ** requirements or restrictions.
23 **
24 ** File Author(s):
25 **
26 ** Magnus Norddahl
27 */
28 
31 
32 #pragma once
33 
34 #ifdef WIN32
35 #pragma warning( disable : 4786)
36 #endif
37 
38 #ifdef __cplusplus_cli
39 #pragma managed(push, off)
40 #endif
41 
42 #include "XML/dom_processing_instruction.h"
43 #include "XML/dom_entity_reference.h"
44 #include "XML/dom_notation.h"
45 #include "XML/dom_exception.h"
46 #include "XML/dom_cdata_section.h"
47 #include "XML/dom_document_fragment.h"
48 #include "XML/dom_comment.h"
49 #include "XML/dom_attr.h"
50 #include "XML/dom_entity.h"
51 #include "XML/dom_document_type.h"
52 #include "XML/dom_document.h"
53 #include "XML/dom_implementation.h"
54 #include "XML/dom_node_list.h"
55 #include "XML/dom_text.h"
56 #include "XML/dom_node.h"
57 #include "XML/dom_character_data.h"
58 #include "XML/dom_named_node_map.h"
59 #include "XML/dom_element.h"
60 #include "XML/dom_string.h"
61 #include "XML/xml_tokenizer.h"
62 #include "XML/xml_writer.h"
63 #include "XML/xml_token.h"
64 #include "XML/xpath_evaluator.h"
65 #include "XML/xpath_object.h"
66 #include "XML/Resources/resource_factory.h"
67 #include "XML/Resources/xml_resource_node.h"
68 #include "XML/Resources/xml_resource_document.h"
69 #include "XML/Resources/xml_resource_manager.h"
70 
71 #ifdef __cplusplus_cli
72 #pragma managed(pop)
73 #endif
74 
75 #if defined(_MSC_VER)
76  #if !defined(_MT)
77  #error Your application is set to link with the single-threaded version of the run-time library. Go to project settings, in the C++ section, and change it to multi-threaded.
78  #endif
79  #if !defined(_DEBUG)
80  #if defined(DLL)
81  #pragma comment(lib, "clanXML-dll.lib")
82  #elif defined(_DLL)
83  #pragma comment(lib, "clanXML-static-mtdll.lib")
84  #else
85  #pragma comment(lib, "clanXML-static-mt.lib")
86  #endif
87  #else
88  #if defined(DLL)
89  #pragma comment(lib, "clanXML-dll-debug.lib")
90  #elif defined(_DLL)
91  #pragma comment(lib, "clanXML-static-mtdll-debug.lib")
92  #else
93  #pragma comment(lib, "clanXML-static-mt-debug.lib")
94  #endif
95  #endif
96 #endif