From eae33615af610f84fc2be016c5b222f44e741cc1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 17 Oct 2013 17:40:03 +0200 Subject: Add sendto extension --- sendto/docs/html/annotation-glossary.html | 36 +++ sendto/docs/html/api-index-full.html | 66 +++++ .../docs/html/caja-sendto-caja-sendto-plugin.html | 219 +++++++++++++++++ sendto/docs/html/caja-sendto.devhelp | 17 ++ sendto/docs/html/caja-sendto.devhelp2 | 20 ++ sendto/docs/html/ch01.html | 33 +++ sendto/docs/html/home.png | Bin 0 -> 654 bytes sendto/docs/html/index.html | 39 +++ sendto/docs/html/index.sgml | 14 ++ sendto/docs/html/left.png | Bin 0 -> 459 bytes sendto/docs/html/right.png | Bin 0 -> 472 bytes sendto/docs/html/style.css | 265 +++++++++++++++++++++ sendto/docs/html/up.png | Bin 0 -> 406 bytes 13 files changed, 709 insertions(+) create mode 100644 sendto/docs/html/annotation-glossary.html create mode 100644 sendto/docs/html/api-index-full.html create mode 100644 sendto/docs/html/caja-sendto-caja-sendto-plugin.html create mode 100644 sendto/docs/html/caja-sendto.devhelp create mode 100644 sendto/docs/html/caja-sendto.devhelp2 create mode 100644 sendto/docs/html/ch01.html create mode 100644 sendto/docs/html/home.png create mode 100644 sendto/docs/html/index.html create mode 100644 sendto/docs/html/index.sgml create mode 100644 sendto/docs/html/left.png create mode 100644 sendto/docs/html/right.png create mode 100644 sendto/docs/html/style.css create mode 100644 sendto/docs/html/up.png (limited to 'sendto/docs/html') diff --git a/sendto/docs/html/annotation-glossary.html b/sendto/docs/html/annotation-glossary.html new file mode 100644 index 0000000..b088d39 --- /dev/null +++ b/sendto/docs/html/annotation-glossary.html @@ -0,0 +1,36 @@ + + + + +Annotation Glossary + + + + + + + + + + + + + + + + + + +
+

+Annotation Glossary

+

E

+
+element-type
+

Generics and defining elements of containers and arrays.

+
+ + + \ No newline at end of file diff --git a/sendto/docs/html/api-index-full.html b/sendto/docs/html/api-index-full.html new file mode 100644 index 0000000..f373472 --- /dev/null +++ b/sendto/docs/html/api-index-full.html @@ -0,0 +1,66 @@ + + + + +API Index + + + + + + + + + + + + + + + + + + + +
+

+API Index

+

I

+
+NST_INIT_PLUGIN, macro in caja-sendto-plugin +
+
+

P

+
+NstPlugin, struct in caja-sendto-plugin +
+
+
+NstPluginCapabilities, enum in caja-sendto-plugin +
+
+
+NstPluginInfo, struct in caja-sendto-plugin +
+
+
+nst_plugin_capabilities_get_type, function in nst-enum-types +
+
+

T

+
+NST_TYPE_PLUGIN_CAPABILITIES, macro in nst-enum-types +
+
+
+ + + \ No newline at end of file diff --git a/sendto/docs/html/caja-sendto-caja-sendto-plugin.html b/sendto/docs/html/caja-sendto-caja-sendto-plugin.html new file mode 100644 index 0000000..e8961cb --- /dev/null +++ b/sendto/docs/html/caja-sendto-caja-sendto-plugin.html @@ -0,0 +1,219 @@ + + + + +caja-sendto-plugin + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

caja-sendto-plugin

+

caja-sendto-plugin — caja-sento plug-in

+
+
+

Stability Level

+Stable, unless otherwise indicated +
+
+

Synopsis

+
+#include <bluetooth-plugin.h>
+
+                    NstPluginInfo;
+                    NstPlugin;
+enum                NstPluginCapabilities;
+#define             NST_INIT_PLUGIN                     (plugininfo)
+
+
+
+

Description

+

+Plug-ins can be used to extend caja-sendto. +

+
+
+

Details

+
+

NstPluginInfo

+
typedef struct {
+	gchar                             *icon;
+	gchar                             *id;
+	gchar                             *description;
+	gchar                             *gettext_package;
+	NstPluginCapabilities              capabilities;
+	gboolean (*init)                  (NstPlugin *plugin);
+	GtkWidget* (*get_contacts_widget) (NstPlugin *plugin);
+	gboolean (*validate_destination)  (NstPlugin *plugin, GtkWidget *contact_widget, char **error);
+	gboolean (*send_files)            (NstPlugin *plugin,
+					   GtkWidget *contact_widget,
+					   GList *file_list);
+	gboolean (*destroy)               (NstPlugin *plugin) ;
+} NstPluginInfo;
+
+

+A structure representing a caja-sendto plugin. You should also call NST_INIT_PLUGIN() on the plugin structure to export it. +

+
++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

gchar *icon;

The icon name for the plugin selection drop-down +

gchar *id;

A unique ID representing the plugin +

gchar *description;

The label used in the plugin selection drop-down +

gchar *gettext_package;

The domain to use to translate the description, NULL if the plugin is part of caja-sendto +

NstPluginCapabilities capabilities;

a bitmask of NstPluginCapabilities +

init ()

Check for dependencies, and return FALSE if dependencies such as programs are missing. +

get_contacts_widget ()

Return the contact widget, the widget to select the destination of the files +

validate_destination ()

Validate whether the destination can receive the file. This callback is optional. +

send_files ()

Actually send the files to the selected destination. The file list is a GList of URI strings. +

destroy ()

Free all the resources used by the plugin. +
+
+
+
+

NstPlugin

+
typedef struct {
+	GModule *module;
+	NstPluginInfo *info;
+} NstPlugin;
+
+

+A structure as used in caja-sendto. +

+
++ + + + + + + + + + +

GModule *module;

the GModule for the opened shared library +

NstPluginInfo *info;

a NstPluginInfo structure +
+
+
+
+

enum NstPluginCapabilities

+
typedef enum {
+	CAJA_CAPS_NONE = 0,
+	CAJA_CAPS_SEND_DIRECTORIES = 1 << 0,
+	CAJA_CAPS_SEND_IMAGES = 1 << 1,
+} NstPluginCapabilities;
+
+

+Capabilities of the plugin. +

+
++ + + + + + + + + + + + + + +

CAJA_CAPS_NONE

No capabilities +

CAJA_CAPS_SEND_DIRECTORIES

The plugin can send whole directories without compression +

CAJA_CAPS_SEND_IMAGES

The plugin only sends images which could be resized +
+
+
+
+

NST_INIT_PLUGIN()

+
#define             NST_INIT_PLUGIN(plugininfo)
+

+Call this on an NstPluginInfo structure to make it available to caja-sendto. +

+
++ + + + +

plugininfo :

a NstPluginInfo structure representing the plugin +
+
+
+
+ + + \ No newline at end of file diff --git a/sendto/docs/html/caja-sendto.devhelp b/sendto/docs/html/caja-sendto.devhelp new file mode 100644 index 0000000..a536a45 --- /dev/null +++ b/sendto/docs/html/caja-sendto.devhelp @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/sendto/docs/html/caja-sendto.devhelp2 b/sendto/docs/html/caja-sendto.devhelp2 new file mode 100644 index 0000000..de85c9d --- /dev/null +++ b/sendto/docs/html/caja-sendto.devhelp2 @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sendto/docs/html/ch01.html b/sendto/docs/html/ch01.html new file mode 100644 index 0000000..ff74863 --- /dev/null +++ b/sendto/docs/html/ch01.html @@ -0,0 +1,33 @@ + + + + +caja-sendto documentation + + + + + + + + + + + + + + + + +
+

+caja-sendto documentation

+
+caja-sendto-plugin — caja-sento plug-in +
+
+ + + \ No newline at end of file diff --git a/sendto/docs/html/home.png b/sendto/docs/html/home.png new file mode 100644 index 0000000..1700361 Binary files /dev/null and b/sendto/docs/html/home.png differ diff --git a/sendto/docs/html/index.html b/sendto/docs/html/index.html new file mode 100644 index 0000000..6183dbf --- /dev/null +++ b/sendto/docs/html/index.html @@ -0,0 +1,39 @@ + + + + +caja-sendto Reference Manual + + + + + + + +
+
+
+
+

+ for caja-sendto 2.32.0 + + The latest version of this documentation can be found on-line at + http://library.mate.org/devel/caja-sendto/index.html. +

+
+
+
+ +
+ + + \ No newline at end of file diff --git a/sendto/docs/html/index.sgml b/sendto/docs/html/index.sgml new file mode 100644 index 0000000..de59262 --- /dev/null +++ b/sendto/docs/html/index.sgml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/sendto/docs/html/left.png b/sendto/docs/html/left.png new file mode 100644 index 0000000..2d05b3d Binary files /dev/null and b/sendto/docs/html/left.png differ diff --git a/sendto/docs/html/right.png b/sendto/docs/html/right.png new file mode 100644 index 0000000..92832e3 Binary files /dev/null and b/sendto/docs/html/right.png differ diff --git a/sendto/docs/html/style.css b/sendto/docs/html/style.css new file mode 100644 index 0000000..d544a2c --- /dev/null +++ b/sendto/docs/html/style.css @@ -0,0 +1,265 @@ +.synopsis, .classsynopsis +{ + /* tango:aluminium 1/2 */ + background: #eeeeec; + border: solid 1px #d3d7cf; + padding: 0.5em; +} +.programlisting +{ + /* tango:sky blue 0/1 */ + background: #e6f3ff; + border: solid 1px #729fcf; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + + } + /* this is needed so that the local anchors are displayed below the naviagtion */ + div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] + { + position: relative; + padding-top:4.5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 3.2em; + padding-bottom: 20em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + z-index: 10; + } + .navigation a, .navigation a:visited + { + /* tango:scarlet red 3 */ + color: #a40000; + } + .navigation a:hover + { + /* tango:scarlet red 1 */ + color: #ef2929; + } + td.shortcuts + { + /* tango:scarlet red 1 */ + color: #ef2929; + font-size: 80%; + white-space: nowrap; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + +.navigation .title +{ + font-size: 200%; +} + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} + +a, a:visited +{ + text-decoration: none; + /* tango:sky blue 2 */ + color: #3465a4; +} +a:hover +{ + text-decoration: underline; + /* tango:sky blue 1 */ + color: #729fcf; +} + +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + /* tango:aluminium 3 */ + border: solid 1px #babdb6; +} + +div.table table td, div.table table th +{ + /* tango:aluminium 3 */ + border: solid 1px #babdb6; + padding: 3px; + vertical-align: top; +} + +div.table table th +{ + /* tango:aluminium 2 */ + background-color: #d3d7cf; +} + +hr +{ + /* tango:aluminium 3 */ + color: #babdb6; + background: #babdb6; + border: none 0px; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + /* tango:aluminium 3 */ + color: #babdb6; + text-align: center; + font-size: 80%; +} + +.warning +{ + /* tango:orange 0/1 */ + background: #ffeed9; + border-color: #ffb04f; +} +.note +{ + /* tango:chameleon 0/0.5 */ + background: #d8ffb2; + border-color: #abf562; +} +.note, .warning +{ + padding: 0.5em; + border-width: 1px; + border-style: solid; +} +.note h3, .warning h3 +{ + margin-top: 0.0em +} +.note p, .warning p +{ + margin-bottom: 0.0em +} + +/* blob links */ +h2 .extralinks, h3 .extralinks +{ + float: right; + /* tango:aluminium 3 */ + color: #babdb6; + font-size: 80%; + font-weight: normal; +} + +.annotation +{ + /* tango:aluminium 5 */ + color: #555753; + font-size: 80%; + font-weight: normal; +} + +/* code listings */ + +.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ +.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ +.listing_code .programlisting .function { color: #000000; font-weight: bold; } +.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ +.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ +.listing_code .programlisting .normal { color: #000000; } +.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ +.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ +.listing_code .programlisting .type { color: #000000; } +.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ +.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ + +.listing_frame { + /* tango:sky blue 1 */ + border: solid 1px #729fcf; + padding: 0px; +} + +.listing_lines, .listing_code { + margin-top: 0px; + margin-bottom: 0px; + padding: 0.5em; +} +.listing_lines { + /* tango:sky blue 0.5 */ + background: #a6c5e3; + /* tango:aluminium 6 */ + color: #2e3436; +} +.listing_code { + /* tango:sky blue 0 */ + background: #e6f3ff; +} +.listing_code .programlisting { + /* override from previous */ + border: none 0px; + padding: 0px; +} +.listing_lines pre, .listing_code pre { + margin: 0px; +} + diff --git a/sendto/docs/html/up.png b/sendto/docs/html/up.png new file mode 100644 index 0000000..85b3e2a Binary files /dev/null and b/sendto/docs/html/up.png differ -- cgit v1.2.1