FotoSHOCK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
XML.hpp
1 #ifndef FOTOSHOCKXML_H
2 #define FOTOSHOCKXML_H
3 
4 namespace FotoSHOCKcore {
5 
6 namespace XML {
7 // it is not very nice to include in namespace, but it reduces the pollution of global namespace
8 // because it's a C-library, it should work fine
9 #include <libxml/tree.h>
10 }
11 
12 using XML::xmlNode;
13 using XML::xmlNodePtr;
14 using XML::xmlChar;
15 using XML::xmlNewNode;
16 using XML::xmlNewText;
17 using XML::xmlAddChild;
18 
19 #undef BAD_CAST
20 #define BAD_CAST (FotoSHOCKcore::XML::xmlChar *)
21 
22 }
23 
24 #endif