diff options
| author | Ted Gould <ted@gould.cx> | 2007-09-01 04:34:43 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-09-01 04:34:43 +0000 |
| commit | 4f60bd527726a1ec8d2d1b168465993656492654 (patch) | |
| tree | 0b0ac69fed6044effb50e3fd1c3650a0d989262e /src/extension/api.cpp | |
| parent | r16408@tres: ted | 2007-08-29 22:52:27 -0700 (diff) | |
| download | inkscape-4f60bd527726a1ec8d2d1b168465993656492654.tar.gz inkscape-4f60bd527726a1ec8d2d1b168465993656492654.zip | |
r16409@tres: ted | 2007-08-29 22:58:07 -0700
Really shouldn't be here anymore
(bzr r3648)
Diffstat (limited to 'src/extension/api.cpp')
| -rw-r--r-- | src/extension/api.cpp | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/src/extension/api.cpp b/src/extension/api.cpp deleted file mode 100644 index d88541f3f..000000000 --- a/src/extension/api.cpp +++ /dev/null @@ -1,92 +0,0 @@ -namespace Inkscape { -namespace Extension { -namespace API { - -doc file_open (gchar * uri, Inkscape::Extension::Input * ext) { } -bool file_save (SPDocument * doc, gchar * uri, Inkscape::Extension::Output * ext) { } -bool print_doc (SPDOcument * doc) { } - -array getElements(string element_name) { } -string getElementName() { } -string getElementByID(string id) { } -string getElementID() { } -hash getAttributes() { } -string getAttribute(string attribute) { } -bool SetAttribute(string name, string value) { } -bool SetAttributes(hash) { } -bool hasChildren() { } -array getChildren() { } -obj getFirstChild() { } -obj getLastChild() { } -array getSiblings() { } -obj getNextSibling() { } -obj getPrevSibling() { } -int getChildIndex() { } -obj getChildAtIndex(int index) { } -obj getParent() { } -array getParents() { } -bool isAncestor(obj) { } -bool isDescendant(obj) { } -cdata getCDATA() { } - -/** looks up the numerical ID of the given verb name. (E.g., it could - pull it out of the SPVerbActionDef props[] static object) */ -int verb_find(string verb_name) { } - -/** retrieves the Action object for the verb in the given view */ -action verb_get_action(int verb, int view) { } - -/** retrieves the view, given the action object */ -view action_get_view(int action) { } - -/** invokes the Action for the verb. It validates the parameters and - calls the appropriate listener that will handle the action. */ -void action_perform(int action, int data, int pdata) { } - -void action_set_active(int action, int state, int data) { } - -void action_set_sensitive(int action, int state, int data) { } - -void prefs_set_int_attribute(string path, string attr, int value) { } - -int prefs_get_int_attribute(string path, string attr, gint def) { } - -int prefs_get_int_attribute_limited(string path, string attr, int def, int min, int max) { } - -void prefs_set_double_attribute(string path, string attr, double value) { } - -double prefs_get_double_attribute(string path, string attr, double def) { } - -double prefs_get_double_attribute_limited(string path, string attr, double def, double min, double max) { } - -string prefs_get_string_attribute(string path, string attr) { } - -void prefs_set_string_attribute(string path, string attr, string value) { } - -void prefs_set_recent_file(string uri, string name) { } - -string[] prefs_get_recent_files() { } - -/** returns a pointer to an instance of the desired stock object in - the current doc, importing the object if necessary. */ -obj get_stock_item(string urn) { } - -/** adds a new stock SVG def to the Inkscape Application. All - currently loaded and new documents will have access to the item. */ -void set_stock_item_from_svg(void) { } - -/** This function gets the variable by the name 'name' with the data - in 'data'. It can be a boolean, integer or a string. */ -get_param (gchar * name, bool data) { } -get_param (gchar * name, int data) { } -get_param (gchar * name, gchar * data) { } - -/** This function sets the variable by the name 'name' with the data - in 'data'. It can be a boolean, integer or a string. In the - case of the string it is copied. */ -set_param (gchar * name, bool data) { } -set_param (gchar * name, int data) { } -set_param (gchar * name, gchar * data) { } - - -} } } /* namespaces Inkscape::Extension::API */ |
