From 5ded9cba8563f336939400303d6a841d5089b107 Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 7 Nov 2011 19:52:18 -0300 Subject: renaming from gedit to pluma --- plugin-loaders/python/bindings/plumacommands.defs | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 plugin-loaders/python/bindings/plumacommands.defs (limited to 'plugin-loaders/python/bindings/plumacommands.defs') 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") + ) +) -- cgit v1.2.1