1 #ifndef __SP_OBJECT_EDIT_H__
2 #define __SP_OBJECT_EDIT_H__
4 /*
5 * Node editing extension to objects
6 *
7 * Authors:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 * Mitsuru Oka
10 *
11 * Licensed under GNU GPL
12 */
14 #include "knotholder.h"
16 KnotHolder *sp_item_knot_holder (SPItem *item, SPDesktop *desktop);
18 class RectKnotHolder : public KnotHolder {
19 public:
20 RectKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
21 virtual ~RectKnotHolder() {};
22 };
24 class Box3DKnotHolder : public KnotHolder {
25 public:
26 Box3DKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
27 virtual ~Box3DKnotHolder() {};
28 };
30 class ArcKnotHolder : public KnotHolder {
31 public:
32 ArcKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
33 virtual ~ArcKnotHolder() {};
34 };
36 class StarKnotHolder : public KnotHolder {
37 public:
38 StarKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
39 virtual ~StarKnotHolder() {};
40 };
42 class SpiralKnotHolder : public KnotHolder {
43 public:
44 SpiralKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
45 virtual ~SpiralKnotHolder() {};
46 };
48 class OffsetKnotHolder : public KnotHolder {
49 public:
50 OffsetKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
51 virtual ~OffsetKnotHolder() {};
52 };
54 class FlowtextKnotHolder : public KnotHolder {
55 public:
56 FlowtextKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
57 virtual ~FlowtextKnotHolder() {};
58 };
60 class MiscKnotHolder : public KnotHolder {
61 public:
62 MiscKnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
63 virtual ~MiscKnotHolder() {};
64 };
66 #endif
68 /*
69 Local Variables:
70 mode:c++
71 c-file-style:"stroustrup"
72 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
73 indent-tabs-mode:nil
74 fill-column:99
75 End:
76 */
77 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :