aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-20 05:18:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-08 00:59:44 +0800
commitfe94770c2e5689f8442e088c3e14004a30143e01 (patch)
tree63b4302a179b0e026abd3e500a02747903a38647 /shell/e-shell.c
parent42a69b14dfe9b4f05bfd24e71f228c1f392e2a39 (diff)
downloadgsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar.gz
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar.bz2
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar.lz
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar.xz
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.tar.zst
gsoc2013-evolution-fe94770c2e5689f8442e088c3e14004a30143e01.zip
Introduce a simple extension system for objects.
This introduces a simple means of extending Evolution objects. Any GObject subclass wishing to be extensible need only call g_type_add_interface_static (type, E_TYPE_EXTENSIBLE, NULL); when registering its GType, and then at some point during initialization call e_extensible_load_extensions() to load extensions for that subclass. Extensions are implemented by subclassing EExtension, setting the GType being extended in EExtensionClass, and making sure its own GType gets registered at startup. This usually done while loading a GTypeModule. e_extension_get_extensible() provides extensions access to the object being extended.
Diffstat (limited to 'shell/e-shell.c')
0 files changed, 0 insertions, 0 deletions