summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-02-11 23:34:59 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-02-11 23:34:59 +0000
commitc8a761256b40300761c7ff6a0d642ac75b6f541a (patch)
tree38146b2cde578ae5dc27feb7ee43809a8f30fc40 /src/xml
parentDropped duplicate code for dom/io and io/ (Bug #1120585 ) (diff)
downloadinkscape-c8a761256b40300761c7ff6a0d642ac75b6f541a.tar.gz
inkscape-c8a761256b40300761c7ff6a0d642ac75b6f541a.zip
A couple of forward declarations
(bzr r12119)
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/repr-css.cpp1
-rw-r--r--src/xml/repr.h19
2 files changed, 14 insertions, 6 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp
index 4c339ad5a..24e2db9e1 100644
--- a/src/xml/repr-css.cpp
+++ b/src/xml/repr-css.cpp
@@ -27,6 +27,7 @@
#include "xml/repr.h"
#include "xml/simple-document.h"
#include "xml/simple-node.h"
+#include "xml/sp-css-attr.h"
#include "style.h"
#include "libcroco/cr-sel-eng.h"
diff --git a/src/xml/repr.h b/src/xml/repr.h
index debd0f489..52f07d11f 100644
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
@@ -14,16 +14,11 @@
#ifndef SEEN_SP_REPR_H
#define SEEN_SP_REPR_H
-#include <stdio.h>
#include <glib.h>
-#include "gc-anchored.h"
+#include <glibmm/quark.h>
#include "xml/node.h"
#include "xml/document.h"
-#include "xml/sp-css-attr.h"
-#include "io/inkscapestream.h"
-
-#include <2geom/forward.h>
#define SP_SODIPODI_NS_URI "http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
#define SP_BROKEN_SODIPODI_NS_URI "http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
@@ -35,6 +30,18 @@
#define SP_OLD_CC_NS_URI "http://web.resource.org/cc/"
#define SP_DC_NS_URI "http://purl.org/dc/elements/1.1/"
+class SPCSSAttr;
+
+namespace Inkscape {
+namespace IO {
+class Writer;
+} // namespace IO
+} // namespace Inkscape
+
+namespace Geom {
+class Point;
+}
+
/* SPXMLNs */
char const *sp_xml_ns_uri_prefix(gchar const *uri, gchar const *suggested);
char const *sp_xml_ns_prefix_uri(gchar const *prefix);