Simplify EPlugin loading at startup.

- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
This commit is contained in:
Matthew Barnes
2009-08-28 20:21:54 -04:00
parent e838209922
commit 32f545cdf0
94 changed files with 2610 additions and 2725 deletions

View File

@ -0,0 +1,29 @@
AM_CPPFLAGS = \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"
@EVO_PLUGIN_RULE@
plugin_DATA = \
hello_python.py \
org-gnome-hello-python-ui.xml \
org-gnome-hello-python.eplug
liborg_gnome_py_plug_test_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
errordir = $(privdatadir)/errors
BUILDME = org-gnome-hello-python.eplug \
$(error_i18n)
BUILT_SOURCES = \
$(BUILDME)
EXTRA_DIST = \
hello_python.py \
org-gnome-hello-python-ui.xml \
org-gnome-hello-python.eplug.xml
CLEANFILES = $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk