Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
lpeobject-reference.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef SEEN_LPEOBJECT_REFERENCE_H
3#define SEEN_LPEOBJECT_REFERENCE_H
4
5/*
6 * The reference corresponding to the inkscape:live-effect attribute
7 *
8 * Copyright (C) 2007 Johan Engelen
9 *
10 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
11 */
12
13#include <sigc++/scoped_connection.h>
14
16
17namespace Inkscape {
18
19namespace XML {
20class Node;
21}
22}
23
25
26namespace Inkscape {
27
28namespace LivePathEffect {
29
31public:
33 ~LPEObjectReference() override;
34
36
37 // concerning the LPEObject that is referred to:
41
42 sigc::scoped_connection _release_connection;
43 sigc::scoped_connection _changed_connection;
44 sigc::scoped_connection _owner_release_connection;
45
46 void link(const char* to);
47 void unlink();
50
51protected:
52 bool _acceptObject(SPObject * const obj) const override;
53
54};
55
56} //namespace LivePathEffect
57
58} // namespace inkscape
59
60#endif /* !SEEN_LPEOBJECT_REFERENCE_H */
61
62/*
63 Local Variables:
64 mode:c++
65 c-file-style:"stroustrup"
66 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
67 indent-tabs-mode:nil
68 fill-column:99
69 End:
70*/
71// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
bool _acceptObject(SPObject *const obj) const override
A class encapsulating a reference to a particular URI; observers can be notified when the URI comes t...
Interface for refcounted XML nodes.
Definition node.h:80
SPObject is an abstract base class of all of the document nodes at the SVG document level.
Definition sp-object.h:160
Helper class to stream background task notifications as a series of messages.