summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7469e1)
raw | patch | inline | side by side (parent: c7469e1)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 22 Apr 2006 20:55:22 +0000 (20:55 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 22 Apr 2006 20:55:22 +0000 (20:55 +0000) |
src/dom/Makefile.mingw | patch | blob | history | |
src/dom/dom.h | patch | blob | history | |
src/dom/domconfig.h | [new file with mode: 0644] | patch | blob |
diff --git a/src/dom/Makefile.mingw b/src/dom/Makefile.mingw
index cdae967fa36acb92935efe2765cccd31f8fce79f..e1842ec112951e072b8c7fb69b864937656a1822 100644 (file)
--- a/src/dom/Makefile.mingw
+++ b/src/dom/Makefile.mingw
-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 2248ad61f0512a2ca0892e66e71a2ddbf24bbb4d..046e63dd8ada39b789173315a12bb1ff3cc5a144 100644 (file)
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
#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
--- /dev/null
+++ b/src/dom/domconfig.h
@@ -0,0 +1,52 @@
+#ifndef __DOMCONFIG_H__\r
+#define __DOMCONFIG_H__\r
+/**\r
+ * Phoebe DOM Implementation.\r
+ *\r
+ * This is a C++ approximation of the W3C DOM model, which follows\r
+ * fairly closely the specifications in the various .idl files, copies of\r
+ * which are provided for reference. Most important is this one:\r
+ *\r
+ * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definitions.html\r
+ *\r
+ * Authors:\r
+ * Bob Jamison\r
+ *\r
+ * Copyright (C) 2006 Bob Jamison\r
+ *\r
+ * rwjj@earthlink.net\r
+ *\r
+ * This library is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU Lesser General Public\r
+ * License as published by the Free Software Foundation; either\r
+ * version 2.1 of the License, or (at your option) any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ * Lesser General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU Lesser General Public\r
+ * License along with this library; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\r
+ */\r
+\r
+/**\r
+ * What kind of implementation of DOMString and XMLCh do we want?\r
+ * Define one of the two below for either our own implementation,\r
+ * or GlibMM's Glib::ustring. If neither one is defined, then DOMString\r
+ * is defined as stdc++'s std::string.\r
+ */\r
+#define DOM_STRING_GLIBMM\r
+//#define DOM_STRING_OWN\r
+\r
+\r
+\r
+\r
+\r
+#endif /* __DOMCONFIG_H__ */\r
+/*#########################################################################\r
+## E N D O F F I L E\r
+#########################################################################*/\r
+\r
+\r