summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-04-22 20:55:22 +0000
committerishmal <ishmal@users.sourceforge.net>2006-04-22 20:55:22 +0000
commit6be178c804e94c4b3f5e96f4295316e446903c4d (patch)
treed41c6eb045ec8ffe5b8463bf538734bfa2dbfce3 /src
parentI guess this was missed (diff)
downloadinkscape-6be178c804e94c4b3f5e96f4295316e446903c4d.tar.gz
inkscape-6be178c804e94c4b3f5e96f4295316e446903c4d.zip
Config tweaks
(bzr r568)
Diffstat (limited to 'src')
-rw-r--r--src/dom/Makefile.mingw2
-rw-r--r--src/dom/dom.h3
-rw-r--r--src/dom/domconfig.h52
3 files changed, 55 insertions, 2 deletions
diff --git a/src/dom/Makefile.mingw b/src/dom/Makefile.mingw
index cdae967fa..e1842ec11 100644
--- a/src/dom/Makefile.mingw
+++ b/src/dom/Makefile.mingw
@@ -134,7 +134,7 @@ endif
-INC = -I.
+INC = -I. -I..
CFLAGS = -Wall -g -DXP_WIN
LIBS = -lws2_32
diff --git a/src/dom/dom.h b/src/dom/dom.h
index 2248ad61f..046e63dd8 100644
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
@@ -31,7 +31,8 @@
#include <vector>
-#define DOM_STRING_GLIBMM
+//# include this before the #ifdefs below
+#include "domconfig.h"
#ifdef DOM_STRING_OWN
#include "domstring.h"
diff --git a/src/dom/domconfig.h b/src/dom/domconfig.h
new file mode 100644
index 000000000..ec9e76b31
--- /dev/null
+++ b/src/dom/domconfig.h
@@ -0,0 +1,52 @@
+#ifndef __DOMCONFIG_H__
+#define __DOMCONFIG_H__
+/**
+ * Phoebe DOM Implementation.
+ *
+ * This is a C++ approximation of the W3C DOM model, which follows
+ * fairly closely the specifications in the various .idl files, copies of
+ * which are provided for reference. Most important is this one:
+ *
+ * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definitions.html
+ *
+ * Authors:
+ * Bob Jamison
+ *
+ * Copyright (C) 2006 Bob Jamison
+ *
+ * rwjj@earthlink.net
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/**
+ * What kind of implementation of DOMString and XMLCh do we want?
+ * Define one of the two below for either our own implementation,
+ * or GlibMM's Glib::ustring. If neither one is defined, then DOMString
+ * is defined as stdc++'s std::string.
+ */
+#define DOM_STRING_GLIBMM
+//#define DOM_STRING_OWN
+
+
+
+
+
+#endif /* __DOMCONFIG_H__ */
+/*#########################################################################
+## E N D O F F I L E
+#########################################################################*/
+
+