[PATCH 0/7] Improvement of the plugin's info from XML feature



Hi, regarding the recent suggestion of the plugin's info being set from an XML
file, I've been talking with Juan and did some improvements to the already sent
patches.

These improvements are mainly the move of the grl_media_plugin_get_name,
..get_description, etc. over to the header file (grl-media-plugin.h) where
they're now set as defines.

I'm also sending a new patch that gets these information from a source whenever
it's added. These are being called in the test-ui and are printed as debug.

Hope it is fine!

Have a nice weekend.

Joaquim Rocha (7):
  Add libxml-2.0 dependency
  [grl-plugin-registry] Use a hashtable for plugins' info
  [grl-plugin-registry] Get plugins' info from XML file
  [grl-media-plugin] Add grl_media_plugin_get_info and plugin's keys
    defines
  [grl-media-plugin] Use grl_media_plugin_get_info to retrieve default
    info
  [grl-media-plugin] Add finalize function to GrlMediaPlugin
  [grilo-test-ui] Print debug info from plugins

 configure.ac               |    3 +-
 src/grl-media-plugin.c     |  127 ++++++++++++--------------------------------
 src/grl-media-plugin.h     |   89 ++++++++++++++++++++++++++++--
 src/grl-plugin-registry.c  |   82 +++++++++++++++++++++++++++-
 src/grl-plugin-registry.h  |   28 ++--------
 tools/grilo-test-ui/main.c |    7 +++
 6 files changed, 212 insertions(+), 124 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]