diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-01-30 08:33:01 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-01-30 08:33:01 +0000 |
| commit | 267299811df952d08324a39008f52c19641de9e0 (patch) | |
| tree | 28fef736a52cb7a72119d119be8eb663ad20a77f /src/sp-tag-use.h | |
| parent | Translations: update inkscape.pot (diff) | |
| download | inkscape-267299811df952d08324a39008f52c19641de9e0.tar.gz inkscape-267299811df952d08324a39008f52c19641de9e0.zip | |
Move classes derived from SPObject to own directory.
A lot of header clean-up.
Diffstat (limited to 'src/sp-tag-use.h')
| -rw-r--r-- | src/sp-tag-use.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/sp-tag-use.h b/src/sp-tag-use.h deleted file mode 100644 index 651c8f045..000000000 --- a/src/sp-tag-use.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef __SP_TAG_USE_H__ -#define __SP_TAG_USE_H__ - -/* - * SVG <inkscape:tagref> implementation - * - * Authors: - * Theodore Janeczko - * - * Copyright (C) Theodore Janeczko 2012 <flutterguy317@gmail.com> - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#include <glib.h> -#include <stddef.h> -#include <sigc++/sigc++.h> -#include "svg/svg-length.h" -#include "sp-object.h" - - -#define SP_TAG_USE(obj) (dynamic_cast<SPTagUse*> (obj)) -#define SP_IS_TAG_USE(obj) (dynamic_cast<SPTagUse*> (obj) != NULL) - -class SPItem; -class SPTagUse; -class SPTagUseReference; - -class SPTagUse : public SPObject { - -public: - // item built from the original's repr (the visible clone) - // relative to the SPUse itself, it is treated as a child, similar to a grouped item relative to its group - SPObject *child; - gchar *href; -public: - SPTagUse(); - virtual ~SPTagUse(); - - virtual void build(SPDocument *doc, Inkscape::XML::Node *repr); - virtual void set(unsigned key, gchar const *value); - virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags); - virtual void release(); - - virtual void href_changed(SPObject* old_ref, SPObject* ref); - - //virtual SPItem* unlink(); - virtual SPItem* get_original(); - virtual SPItem* root(); - - // the reference to the original object - SPTagUseReference *ref; - sigc::connection _changed_connection; -}; - -#endif |
