1 #ifndef __SP_ANCHOR_H__
2 #define __SP_ANCHOR_H__
4 /*
5 * SVG <a> element implementation
6 *
7 * Author:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * Copyright (C) 2001-2002 Lauris Kaplinski
11 * Copyright (C) 2001 Ximian, Inc.
12 *
13 * Released under GNU GPL, read the file 'COPYING' for more information
14 */
16 #include "sp-item-group.h"
18 #define SP_TYPE_ANCHOR (sp_anchor_get_type ())
19 #define SP_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ANCHOR, SPAnchor))
20 #define SP_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_ANCHOR, SPAnchorClass))
21 #define SP_IS_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ANCHOR))
22 #define SP_IS_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_ANCHOR))
24 struct SPAnchor : public SPGroup {
25 gchar *href;
26 };
28 struct SPAnchorClass {
29 SPGroupClass parent_class;
30 };
32 GType sp_anchor_get_type (void);
34 #endif