summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 06:05:12 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 06:05:12 +0000
commit56cbd9ce3b1f5116c22250d74ead66a0feb3ffa5 (patch)
tree63e0a6f00e72f1a5b7fc4fe38dfdfc966e8d03a4 /src/extension
parentSPDocument->Document (diff)
downloadinkscape-56cbd9ce3b1f5116c22250d74ead66a0feb3ffa5.tar.gz
inkscape-56cbd9ce3b1f5116c22250d74ead66a0feb3ffa5.zip
SPDocument->Document
(bzr r8406)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/effect.h2
-rw-r--r--src/extension/extension.h26
-rw-r--r--src/extension/input.h2
-rw-r--r--src/extension/output.h4
-rw-r--r--src/extension/patheffect.h4
-rw-r--r--src/extension/print.h2
-rw-r--r--src/extension/system.h4
7 files changed, 22 insertions, 22 deletions
diff --git a/src/extension/effect.h b/src/extension/effect.h
index c02ce542b..637d29c5c 100644
--- a/src/extension/effect.h
+++ b/src/extension/effect.h
@@ -21,7 +21,7 @@
#include "prefdialog.h"
#include "extension.h"
-struct SPDocument;
+struct Document;
namespace Inkscape {
namespace UI {
diff --git a/src/extension/extension.h b/src/extension/extension.h
index 48ca86cf7..8dcd1b393 100644
--- a/src/extension/extension.h
+++ b/src/extension/extension.h
@@ -72,7 +72,7 @@
#define INKSCAPE_EXTENSION_NS_NC "extension"
#define INKSCAPE_EXTENSION_NS "extension:"
-struct SPDocument;
+struct Document;
namespace Inkscape {
namespace Extension {
@@ -173,42 +173,42 @@ private:
#endif
public:
bool get_param_bool (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
int get_param_int (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
float get_param_float (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
const gchar * get_param_string (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
guint32 get_param_color (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
const gchar * get_param_enum (const gchar * name,
- const SPDocument * doc = NULL,
+ const Document * doc = NULL,
const Inkscape::XML::Node * node = NULL);
bool set_param_bool (const gchar * name,
bool value,
- SPDocument * doc = NULL,
+ Document * doc = NULL,
Inkscape::XML::Node * node = NULL);
int set_param_int (const gchar * name,
int value,
- SPDocument * doc = NULL,
+ Document * doc = NULL,
Inkscape::XML::Node * node = NULL);
float set_param_float (const gchar * name,
float value,
- SPDocument * doc = NULL,
+ Document * doc = NULL,
Inkscape::XML::Node * node = NULL);
const gchar * set_param_string (const gchar * name,
const gchar * value,
- SPDocument * doc = NULL,
+ Document * doc = NULL,
Inkscape::XML::Node * node = NULL);
guint32 set_param_color (const gchar * name,
guint32 color,
- SPDocument * doc = NULL,
+ Document * doc = NULL,
Inkscape::XML::Node * node = NULL);
/* Error file handling */
@@ -217,7 +217,7 @@ public:
static void error_file_close (void);
public:
- Gtk::Widget * autogui (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal = NULL);
+ Gtk::Widget * autogui (Document * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal = NULL);
void paramListString (std::list <std::string> & retlist);
/* Extension editor dialog stuff */
diff --git a/src/extension/input.h b/src/extension/input.h
index 55d807ce2..d2aac9376 100644
--- a/src/extension/input.h
+++ b/src/extension/input.h
@@ -37,7 +37,7 @@ public:
Implementation::Implementation * in_imp);
virtual ~Input (void);
virtual bool check (void);
- SPDocument * open (gchar const *uri);
+ Document * open (gchar const *uri);
gchar * get_mimetype (void);
gchar * get_extension (void);
gchar * get_filetypename (void);
diff --git a/src/extension/output.h b/src/extension/output.h
index b52a96211..455b4a8ae 100644
--- a/src/extension/output.h
+++ b/src/extension/output.h
@@ -15,7 +15,7 @@
#include <gtk/gtkdialog.h>
#include "extension.h"
-struct SPDocument;
+struct Document;
namespace Inkscape {
namespace Extension {
@@ -36,7 +36,7 @@ public:
Implementation::Implementation * in_imp);
virtual ~Output (void);
virtual bool check (void);
- void save (SPDocument *doc,
+ void save (Document *doc,
gchar const *uri);
bool prefs (void);
gchar * get_mimetype(void);
diff --git a/src/extension/patheffect.h b/src/extension/patheffect.h
index 0c00ae093..7ad875048 100644
--- a/src/extension/patheffect.h
+++ b/src/extension/patheffect.h
@@ -22,10 +22,10 @@ public:
PathEffect (Inkscape::XML::Node * in_repr,
Implementation::Implementation * in_imp);
virtual ~PathEffect (void);
- void processPath (SPDocument * doc,
+ void processPath (Document * doc,
Inkscape::XML::Node * path,
Inkscape::XML::Node * def);
- static void processPathEffects (SPDocument * doc,
+ static void processPathEffects (Document * doc,
Inkscape::XML::Node * path);
}; /* PathEffect */
diff --git a/src/extension/print.h b/src/extension/print.h
index 8ae71b8e6..3240942d7 100644
--- a/src/extension/print.h
+++ b/src/extension/print.h
@@ -36,7 +36,7 @@ public:
unsigned int setup (void);
unsigned int set_preview (void);
- unsigned int begin (SPDocument *doc);
+ unsigned int begin (Document *doc);
unsigned int finish (void);
/* Rendering methods */
diff --git a/src/extension/system.h b/src/extension/system.h
index 6c23b2f0d..ada5f799c 100644
--- a/src/extension/system.h
+++ b/src/extension/system.h
@@ -21,8 +21,8 @@
namespace Inkscape {
namespace Extension {
-SPDocument *open(Extension *key, gchar const *filename);
-void save(Extension *key, SPDocument *doc, gchar const *filename,
+Document *open(Extension *key, gchar const *filename);
+void save(Extension *key, Document *doc, gchar const *filename,
bool setextension, bool check_overwrite, bool official);
Print *get_print(gchar const *key);
Extension *build_from_file(gchar const *filename);