Code

moving trunk for module inkscape
[inkscape.git] / src / gc-anchored.cpp
1 /*
2  * Inkscape::GC::Anchored - base class for anchored GC-managed objects
3  *
4  * Authors:
5  *   MenTaLguY <mental@rydia.net>
6  *
7  * Copyright (C) 2004 MenTaLguY
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10  */
12 #include "gc-anchored.h"
14 namespace Inkscape {
16 namespace GC {
18 Anchored::Anchor *Anchored::_new_anchor() const {
19     return new Anchor(this);
20 }
22 void Anchored::_free_anchor(Anchored::Anchor *anchor) const {
23     delete anchor;
24 }
26 }
28 }
30 /*
31   Local Variables:
32   mode:c++
33   c-file-style:"stroustrup"
34   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
35   indent-tabs-mode:nil
36   fill-column:99
37   End:
38 */
39 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :