gc-anchored.cpp revision b8ec5550e6e59ed4c0486d2b6da7c02f31e7c51a
/*
* Inkscape::GC::Anchored - base class for anchored GC-managed objects
*
* Authors:
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 2004 MenTaLguY
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <typeinfo>
#include "gc-anchored.h"
#include "debug/event-tracker.h"
#include "debug/simple-event.h"
namespace Inkscape {
namespace GC {
namespace {
class BaseAnchorEvent : public RefCountEvent {
public:
{
}
};
class AnchorEvent : public BaseAnchorEvent {
public:
{}
};
class ReleaseEvent : public BaseAnchorEvent {
public:
{}
};
}
return new Anchor(this);
}
delete anchor;
}
if (!_anchor) {
_anchor = _new_anchor();
}
}
}
}
}
}
/*
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:encoding=utf-8:textwidth=99 :