summaryrefslogtreecommitdiff
path: root/plugin-loaders/python/bindings/plumacommands.defs
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 19:52:18 -0300
committerPerberos <[email protected]>2011-11-07 19:52:18 -0300
commit5ded9cba8563f336939400303d6a841d5089b107 (patch)
treec5676588cff26ba37e12369fe4de24b54e9f6682 /plugin-loaders/python/bindings/plumacommands.defs
parentf00b3a11a199f9f85a4d46a600f9d14179b37dbf (diff)
downloadpluma-5ded9cba8563f336939400303d6a841d5089b107.tar.bz2
pluma-5ded9cba8563f336939400303d6a841d5089b107.tar.xz
renaming from gedit to pluma
Diffstat (limited to 'plugin-loaders/python/bindings/plumacommands.defs')
-rwxr-xr-xplugin-loaders/python/bindings/plumacommands.defs45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugin-loaders/python/bindings/plumacommands.defs b/plugin-loaders/python/bindings/plumacommands.defs
new file mode 100755
index 00000000..241b52d6
--- /dev/null
+++ b/plugin-loaders/python/bindings/plumacommands.defs
@@ -0,0 +1,45 @@
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From ../../pluma/pluma-commands.h
+
+(define-function load_uri
+ (c-name "pluma_commands_load_uri")
+ (return-type "none")
+ (parameters
+ '("PlumaWindow*" "window")
+ '("const-gchar*" "uri")
+ '("const-PlumaEncoding*" "encoding")
+ '("gint" "line_pos")
+ )
+)
+
+(define-function load_uris
+ (c-name "pluma_commands_load_uris")
+ (return-type "gint")
+ (parameters
+ '("PlumaWindow*" "window")
+ '("const-GSList*" "uris")
+ '("const-PlumaEncoding*" "encoding")
+ '("gint" "line_pos")
+ )
+)
+
+(define-function save_document
+ (c-name "pluma_commands_save_document")
+ (return-type "none")
+ (parameters
+ '("PlumaWindow*" "window")
+ '("PlumaDocument*" "document")
+ )
+)
+
+(define-function save_all_documents
+ (c-name "pluma_commands_save_all_documents")
+ (return-type "none")
+ (parameters
+ '("PlumaWindow*" "window")
+ )
+)