summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a207c80)
raw | patch | inline | side by side (parent: a207c80)
author | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 May 2008 15:30:30 +0000 (15:30 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 May 2008 15:30:30 +0000 (15:30 +0000) |
src/dom/dom.h | patch | blob | history |
diff --git a/src/dom/dom.h b/src/dom/dom.h
index c1d9428d0e3a1bcce35face32ef571178722dba5..21ea446696523ed3f72c92facf5a3fbce65aa801 100644 (file)
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
* Then below, select one of the corresponding typedefs.
*/
+#ifdef DOM_STANDALONE
+#include <string>
+#else
#include <glibmm.h>
-//#include <string>
+#endif
//# Unfortunate hack for a name collision
#ifdef SEVERITY_ERROR
/**
* This is the org::w3c::dom::DOMString definition.
* Which type do we want?
- */
+ */
+#ifdef DOM_STANDALONE
+typedef std::string DOMString;
+typedef unsigned short XMLCh;
+#else
typedef Glib::ustring DOMString;
typedef gunichar XMLCh;
-
-//typedef std::string DOMString;
-//typedef unsigned short XMLCh;
-
+#endif
/**
* At least 64 bit time stamp value.