summaryrefslogtreecommitdiffstats
path: root/src/sp-anchor.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/sp-anchor.h
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/sp-anchor.h')
-rw-r--r--src/sp-anchor.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/sp-anchor.h b/src/sp-anchor.h
new file mode 100644
index 000000000..3c6481d94
--- /dev/null
+++ b/src/sp-anchor.h
@@ -0,0 +1,34 @@
+#ifndef __SP_ANCHOR_H__
+#define __SP_ANCHOR_H__
+
+/*
+ * SVG <a> element implementation
+ *
+ * Author:
+ * Lauris Kaplinski <lauris@kaplinski.com>
+ *
+ * Copyright (C) 2001-2002 Lauris Kaplinski
+ * Copyright (C) 2001 Ximian, Inc.
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "sp-item-group.h"
+
+#define SP_TYPE_ANCHOR (sp_anchor_get_type ())
+#define SP_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ANCHOR, SPAnchor))
+#define SP_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_ANCHOR, SPAnchorClass))
+#define SP_IS_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ANCHOR))
+#define SP_IS_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_ANCHOR))
+
+struct SPAnchor : public SPGroup {
+ gchar *href;
+};
+
+struct SPAnchorClass {
+ SPGroupClass parent_class;
+};
+
+GType sp_anchor_get_type (void);
+
+#endif