/*
* The reference corresponding to the inkscape:perspectiveID attribute
*
* Copyright (C) 2007 Johan Engelen
* Copyright (C) 2007 Maximilian Albert
*
* Released under GNU GPL, read the file 'COPYING' for more information.
*/
#include "persp3d-reference.h"
#include "persp3d.h"
#include "uri.h"
static void persp3dreference_href_changed(SPObject *old_ref, SPObject *ref, Persp3DReference *persp3dref);
static void persp3dreference_source_modified(SPObject *iSource, guint flags, Persp3DReference *persp3dref);
{
persp_href = NULL;
persp_repr = NULL;
_changed_connection = changedSignal().connect(sigc::bind(sigc::ptr_fun(persp3dreference_href_changed), this)); // listening to myself, this should be virtual instead
}
Persp3DReference::~Persp3DReference(void)
{
unlink();
}
bool
{
;
/* effic: Don't bother making this an inline function: _acceptObject is a virtual function,
typically called from a context where the runtime type is not known at compile time. */
}
void
{
persp_href = NULL;
detach();
}
void
{
return;
}
_delete_connection = to->connectDelete(sigc::bind(sigc::ptr_fun(&persp3dreference_delete_self), this));
_modified_connection = to->connectModified(sigc::bind<2>(sigc::ptr_fun(&persp3dreference_source_modified), this));
}
void
{
return;
}
persp_repr = NULL;
}
static void
persp3dreference_href_changed(SPObject */*old_ref*/, SPObject */*ref*/, Persp3DReference *persp3dref)
{
if ( refobj ) {
}
}
static void
{
}
static void
persp3dreference_source_modified(SPObject */*iSource*/, guint /*flags*/, Persp3DReference *persp3dref)
{
}
/*
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:fileencoding=utf-8:textwidth=99 :