X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Flpeobject-reference.h;h=6a2f75327c9b7dd66ac8552e63b3569b0951a6cf;hb=71146abe8aba032d73788a625fee5769a581bd3c;hp=7aaa5f69166cbe43bfda15b1c161efe0981d5ee7;hpb=981b809bc6ed10a21e89444d9447e5475801874f;p=inkscape.git diff --git a/src/live_effects/lpeobject-reference.h b/src/live_effects/lpeobject-reference.h index 7aaa5f691..6a2f75327 100644 --- a/src/live_effects/lpeobject-reference.h +++ b/src/live_effects/lpeobject-reference.h @@ -1,71 +1,71 @@ -#ifndef SEEN_LPEOBJECT_REFERENCE_H -#define SEEN_LPEOBJECT_REFERENCE_H - -/* - * The reference corresponding to the inkscape:live-effect attribute - * - * Copyright (C) 2007 Johan Engelen - * - * Released under GNU GPL, read the file 'COPYING' for more information. - */ - -#include -#include -#include - -namespace Inkscape { -namespace XML { -struct Node; -} -} - -struct LivePathEffectObject; - -namespace Inkscape { - -namespace LivePathEffect { - -class LPEObjectReference : public Inkscape::URIReference { -public: - LPEObjectReference(SPObject *owner); - ~LPEObjectReference(); - - SPObject *owner; - - // concerning the LPEObject that is refered to: - gchar *lpeobject_href; - Inkscape::XML::Node *lpeobject_repr; - LivePathEffectObject *lpeobject; - - sigc::connection _modified_connection; - sigc::connection _delete_connection; - sigc::connection _changed_connection; - - void link(char* to); - void unlink(void); - void start_listening(LivePathEffectObject* to); - void quit_listening(void); - - void (*user_unlink) (SPObject *user); - -protected: - bool _acceptObject(SPObject * const obj) const; - -}; - -}; //namespace LivePathEffect - -}; // namespace inkscape - -#endif /* !SEEN_LPEOBJECT_REFERENCE_H */ - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : +#ifndef SEEN_LPEOBJECT_REFERENCE_H +#define SEEN_LPEOBJECT_REFERENCE_H + +/* + * The reference corresponding to the inkscape:live-effect attribute + * + * Copyright (C) 2007 Johan Engelen + * + * Released under GNU GPL, read the file 'COPYING' for more information. + */ + +#include +#include +#include + +namespace Inkscape { +namespace XML { +struct Node; +} +} + +struct LivePathEffectObject; + +namespace Inkscape { + +namespace LivePathEffect { + +class LPEObjectReference : public Inkscape::URIReference { +public: + LPEObjectReference(SPObject *owner); + virtual ~LPEObjectReference(); + + SPObject *owner; + + // concerning the LPEObject that is refered to: + gchar *lpeobject_href; + Inkscape::XML::Node *lpeobject_repr; + LivePathEffectObject *lpeobject; + + sigc::connection _modified_connection; + sigc::connection _delete_connection; + sigc::connection _changed_connection; + + void link(char* to); + void unlink(void); + void start_listening(LivePathEffectObject* to); + void quit_listening(void); + + void (*user_unlink) (SPObject *user); + +protected: + bool _acceptObject(SPObject * const obj) const; + +}; + +} //namespace LivePathEffect + +} // namespace inkscape + +#endif /* !SEEN_LPEOBJECT_REFERENCE_H */ + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :