application-interface.cpp revision 9dc68827cbd515262ecb8d5ae8547d9e82c72e00
/*
* This is where the implementation of the DBus based application API lives.
* All the methods in here are designed to be called remotly via DBus.
* document-interface.cpp has all of the actual manipulation methods.
* This interface is just for creating new document interfaces.
*
* Documentation for these methods is in application-interface.xml
* which is the "gold standard" as to how the interface should work.
*
* Authors:
* Soren Berg <Glimmer07@gmail.com>
*
* Copyright (C) 2009 Soren Berg
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "application-interface.h"
#include <string.h>
#include "dbus-init.h"
static void
{
}
static void
{
}
static void
{
}
application_interface_new (void)
{
}
/****************************************************************************
DESKTOP FUNCTIONS
****************************************************************************/
{
}
gchar**
{
return NULL;
}
{
return NULL;
}
{
return TRUE;
}
{
return TRUE;
}
{
return TRUE;
}
/****************************************************************************
DOCUMENT FUNCTIONS
****************************************************************************/
{
}
gchar**
{
return NULL;
}
{
return TRUE;
}
/* INTERESTING FUNCTIONS
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
g_assert(desktop != NULL);
SPDocument *doc = sp_desktop_document(desktop);
g_assert(doc != NULL);
Inkscape::XML::Node *repr = doc->getReprRoot();
g_assert(repr != NULL);
*/