2002-02-06 22:34:12 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
|
|
|
- plugable backends:
|
|
|
|
|
|
|
|
- XML
|
|
|
|
- flat file
|
|
|
|
- GConf/bonobo conf
|
|
|
|
- web registry
|
|
|
|
- in memory (trivial?)
|
|
|
|
- SQL backend (gda?)
|
|
|
|
|
|
|
|
- provide API to the core to load/inspect/save plugins.
|
|
|
|
- provide user/system registry
|
|
|
|
- provide combination of backends
|
|
|
|
- provide backend specific queries
|
|
|
|
|
|
|
|
user/system registry
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
first query the user registry, then fall back to system registry.
|
|
|
|
|
2002-05-08 20:06:20 +00:00
|
|
|
model:
|
|
|
|
------
|
|
|
|
|
|
|
|
registry_pool
|
|
|
|
!
|
|
|
|
!---> registry (name, priority)
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!---> registry (name, priority)
|
|
|
|
! !
|
|
|
|
! !-> plugin
|
|
|
|
! !
|
|
|
|
! !-> plugin
|
|
|
|
! ... !
|
|
|
|
! !-> feature ...
|
|
|
|
!
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
A registrypool holds a list of registries each with a priority
|
|
|
|
|
|
|
|
A registry contains a list of plugins (or libraries)
|
|
|
|
|
|
|
|
A plugin contains a list of features (elementfactories, typefacories, ...)
|
|
|
|
|
|
|
|
Loading the registry will do
|
|
|
|
|
|
|
|
- instantiate empty GstPlugin objects (loaded flag == FALSE)
|
|
|
|
- instantiate empty plugin features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-02-06 22:34:12 +00:00
|
|
|
API
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|