aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/shell/tmpl
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-22 10:22:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-22 11:30:44 +0800
commit906f93a130d8d670c4b5213c2c2bf03c47c02337 (patch)
tree049d65401eae28e21b98c27bd9e73a8275f94bcb /doc/reference/shell/tmpl
parent5368aec9721e9ccd97280d05e6916e1197fa14a1 (diff)
downloadgsoc2013-evolution-906f93a130d8d670c4b5213c2c2bf03c47c02337.tar.gz
gsoc2013-evolution-906f93a130d8d670c4b5213c2c2bf03c47c02337.tar.zst
gsoc2013-evolution-906f93a130d8d670c4b5213c2c2bf03c47c02337.zip
Demonstrate extending the EExtension API.
Introduce e_extensible_list_extensions(), which provides extensible objects access to their own extensions, or a subset of them. Convert EShellBackend to an abstract EExtension subtype. EShell will load its extensions with e_extensible_load_extensions(), and then obtain a list of EShellBackend extensions as follows: shell_backends = e_extensible_list_extensions ( E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND); Because EShellBackend is abstract, its GType is skipped while traversing the GType hierarchy to find EShell extensions.
Diffstat (limited to 'doc/reference/shell/tmpl')
-rw-r--r--doc/reference/shell/tmpl/e-extensible.sgml10
-rw-r--r--doc/reference/shell/tmpl/e-shell-backend.sgml5
-rw-r--r--doc/reference/shell/tmpl/eshell-unused.sgml6
3 files changed, 16 insertions, 5 deletions
diff --git a/doc/reference/shell/tmpl/e-extensible.sgml b/doc/reference/shell/tmpl/e-extensible.sgml
index de8e8e140c..80bf8f0da4 100644
--- a/doc/reference/shell/tmpl/e-extensible.sgml
+++ b/doc/reference/shell/tmpl/e-extensible.sgml
@@ -31,3 +31,13 @@ Extensible
@extensible:
+<!-- ##### FUNCTION e_extensible_list_extensions ##### -->
+<para>
+
+</para>
+
+@extensible:
+@extension_type:
+@Returns:
+
+
diff --git a/doc/reference/shell/tmpl/e-shell-backend.sgml b/doc/reference/shell/tmpl/e-shell-backend.sgml
index 79456dcfea..76bf06c58e 100644
--- a/doc/reference/shell/tmpl/e-shell-backend.sgml
+++ b/doc/reference/shell/tmpl/e-shell-backend.sgml
@@ -31,11 +31,6 @@ EShellBackend
@eshellbackend: the object which received the signal.
@arg1:
-<!-- ##### ARG EShellBackend:shell ##### -->
-<para>
-
-</para>
-
<!-- ##### FUNCTION e_shell_backend_compare ##### -->
<para>
diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml
index 8769407347..ef0cb974c4 100644
--- a/doc/reference/shell/tmpl/eshell-unused.sgml
+++ b/doc/reference/shell/tmpl/eshell-unused.sgml
@@ -509,6 +509,12 @@ intelligent
</para>
+<!-- ##### ARG EShellBackend:shell ##### -->
+<para>
+
+</para>
+
+
<!-- ##### ARG EShellContent:filter-action ##### -->
<para>