Logo Search packages:      
Sourcecode: inkscape version File versions

inkscape.cpp File Reference


Detailed Description

Legacy interface to main application.

Definition in file inkscape.cpp.

#include <errno.h>
#include <map>
#include "debug/simple-event.h"
#include "debug/event-tracker.h"
#include <cstring>
#include <glib/gstdio.h>
#include <glib.h>
#include <glibmm/i18n.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkmessagedialog.h>
#include <gtkmm/messagedialog.h>
#include <signal.h>
#include <string>
#include "application/application.h"
#include "application/editor.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "dialogs/input.h"
#include "document.h"
#include "event-context.h"
#include "extension/db.h"
#include "extension/init.h"
#include "extension/output.h"
#include "extension/system.h"
#include "helper/sp-marshal.h"
#include "inkscape-private.h"
#include "io/sys.h"
#include "message-stack.h"
#include "preferences.h"
#include "selection.h"
#include "ui/dialog/debug.h"
#include "xml/repr.h"
#include "menus-skeleton.h"

Go to the source code of this file.

Classes

struct  Inkscape::Application
struct  Inkscape::ApplicationClass
class  InkErrorHandler

Defines

#define DEFAULT_LOG_REDIRECT   false
#define DESKTOP_IS_ACTIVE(d)   ((d) == inkscape->desktops->data)
#define HAS_PROC_SELF_EXE
#define INKSCAPE_LEGACY_PROFILE_DIR   ".inkscape"
#define INKSCAPE_PROFILE_DIR   "inkscape"
#define INKSCAPE_PROFILE_DIR_047DEV   "Inkscape"
#define MENUS_FILE   "menus.xml"
#define SP_INDENT   8

Enumerations

enum  {
  MODIFY_SELECTION, CHANGE_SELECTION, CHANGE_SUBSELECTION, SET_SELECTION,
  SET_EVENTCONTEXT, ACTIVATE_DESKTOP, DEACTIVATE_DESKTOP, SHUTDOWN_SIGNAL,
  DIALOGS_HIDE, DIALOGS_UNHIDE, EXTERNAL_CHANGE, LAST_SIGNAL
}

Functions

char * homedir_path (const char *filename)
void inkscape_activate_desktop (SPDesktop *desktop)
static void inkscape_activate_desktop_private (Inkscape::Application *inkscape, SPDesktop *desktop)
SPDesktopinkscape_active_desktop (void)
SPDocumentinkscape_active_document (void)
SPEventContextinkscape_active_event_context (void)
void inkscape_add_desktop (SPDesktop *desktop)
void inkscape_add_document (SPDocument *document)
gboolean inkscape_app_use_gui (Inkscape::Application const *app)
void inkscape_application_init (const gchar *argv0, gboolean use_gui)
static gint inkscape_autosave (gpointer)
void inkscape_autosave_init ()
static void inkscape_class_init (Inkscape::ApplicationClass *klass)
static void inkscape_crash_handler (int)
static void inkscape_deactivate_desktop_private (Inkscape::Application *inkscape, SPDesktop *desktop)
void inkscape_dialogs_hide ()
void inkscape_dialogs_toggle ()
void inkscape_dialogs_unhide ()
static void inkscape_dispose (GObject *object)
void inkscape_eventcontext_set (SPEventContext *eventcontext)
void inkscape_exit (Inkscape::Application *)
void inkscape_external_change ()
SPDesktopinkscape_find_desktop_by_dkey (unsigned int dkey)
void inkscape_get_all_desktops (std::list< SPDesktop * > &listbuf)
Inkscape::Application * inkscape_get_instance ()
Inkscape::XML::Nodeinkscape_get_menus (Inkscape::Application *inkscape)
GType inkscape_get_type (void)
static void inkscape_init (SPObject *object)
bool inkscape_is_sole_desktop_for_document (SPDesktop const &desktop)
bool inkscape_load_menus (Inkscape::Application *)
void inkscape_mapalt (guint maskvalue)
guint inkscape_mapalt ()
unsigned int inkscape_maximum_dkey ()
SPDesktopinkscape_next_desktop ()
SPDesktopinkscape_prev_desktop ()
void inkscape_reactivate_desktop (SPDesktop *desktop)
void inkscape_ref (void)
void inkscape_refresh_display (Inkscape::Application *inkscape)
void inkscape_remove_desktop (SPDesktop *desktop)
bool inkscape_remove_document (SPDocument *document)
void inkscape_selection_changed (Inkscape::Selection *selection)
void inkscape_selection_modified (Inkscape::Selection *selection, guint flags)
void inkscape_selection_set (Inkscape::Selection *selection)
void inkscape_subselection_changed (SPDesktop *desktop)
void inkscape_switch_desktops_next ()
void inkscape_switch_desktops_prev ()
void inkscape_trackalt (guint trackvalue)
guint inkscape_trackalt ()
void inkscape_unref (void)
gchar * profile_path (const char *filename)

Variables

static void(* abrt_handler )(int) = SIG_DFL
static void(* bus_handler )(int) = SIG_DFL
static void(* fpe_handler )(int) = SIG_DFL
static void(* ill_handler )(int) = SIG_DFL
static Inkscape::Application * inkscape = NULL
static guint inkscape_signals [LAST_SIGNAL] = {0}
static GObjectClass * parent_class
static void(* segv_handler )(int) = SIG_DFL


Generated by  Doxygen 1.6.0   Back to index