[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed April 15 2009, Elias Pschernig wrote:
> Evert Glebbeek wrote:
> > On 15 Apr 2009, at 12:34 , Thomas Fjellstrom wrote:
> >>> That was my next question. I think we need to be able to register
> >>> handlers for different URI schemes. At path without a URI scheme
> >>> will
> >>> default to file://, which is implemented with stdio, but may be
> >>> overridden if you want to remote filesystem support (somehow).
> >>
> >> No. You want something like that, you use an addon that registers with
> >> fshooks.
> >
> > That makes sense to me.
>
> We need a way how this addon can "register with fshook" though... the
> current API provides no possibility to for example make a physfs (or HTTP
> or whatever) addon.
Either we make the current inner vtable public to addons, or we add the
fshook_[set/get] functions back along with the enum. I've asked about it in
the past, but haven't really gotten any input.
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx