Ticket #19 (closed defect: fixed)
GfConnections need to be loaded dynamically...
| Reported by: | grim | Owned by: | grim |
|---|---|---|---|
| Priority: | blocker | Milestone: | Usable |
| Component: | gflib | Version: | |
| Keywords: | Cc: |
Description
As it stands right now, to use any GfConnection, you need to link against the connection's library at compile time. Ideally, what I'd like to move to, is something like a connection pool, that tracks all of the currently available connections, and can create an instance for you and so on. This way, we can allow applications to just query for a specific connection, or just fallback to one that should always work. Thusly avoiding the mess of relinking, or linking to multiple libraries and so on.
This should all be handled in gflib and the connection libraries will have a bit of api to make this all possible. The connection libraries should install themselves into something like $PREFIX/lib/guifications/connections and the rest will be taken care of in gflib.
I have yet to determine if we should do this via gflib-plugin. But we can decide that when we look at this in more detail.
