[AD] dat2c/grabber plugins (was: New font types)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 24 September 2002 14:08, Eric Botcazou wrote:
> The latter obviously needs less work :-) so let's go for it. So,
> basically, you would register a handler for a DAT_CUSTOM_FONT type,
> but tell the user to cast the object to (FONT *) if you decided to
> support direct loading of datafiles. Fine with me.

Great, that means we don't need to write anything :-)

> Now to the dat2s/c side. What I wanted to say by "plugin-ize" dat2c/s
> is the following thing: let's try to leverage the plugin support we
> already have for the dat utility and the grabber, i.e devise an
> interface that plugins could use to register themselves with dat2s/c.

Do you mean that we should have a directory into which we can drop C 
source files and then these files are compiled into the dat utilities? 
(Kind of like grabber plugins at the moment).

> This would embrace and extend (huh, huh... why do I suddenly feel
> uncomfortable ? ;-) your idea of text files for constructor
> functions.

Well, it does require re-compilation of the tools, but I suppose if we 
write it in a general enough manner there won't be any conflict between 
different addons.

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9kanHUdhclgSmRuoRApHBAJwK8X+dTQ7VMV4IB26OkQxlUiz7+gCfWdaO
hINaSH9fgbDGYYbf9YWIRTY=
=Oqj9
-----END PGP SIGNATURE-----



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/