2002-02-06 22:34:12 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
2018-04-27 16:40:31 +00:00
|
|
|
- pluggable backends:
|
2002-02-06 22:34:12 +00:00
|
|
|
|
|
|
|
- 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
|
|
|
|
--------------------
|
2002-09-08 18:27:36 +00:00
|
|
|
There are two be two registries on the system. One system registry and one user registry.
|
|
|
|
The user registry should be queried first, then if that doesn't exist or don't contain any
|
|
|
|
plugins able to handle the mediatype it should fall back to system registry.
|
2002-02-06 22:34:12 +00:00
|
|
|
|
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
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|