Re: [Plib-devel] Exposed bitmap loaders in SSG?
Brought to you by:
sjbaker
From: steve <sjb...@ai...> - 2007-01-08 22:22:54
|
Jan Reucker wrote: > actually I never thought about exposing the loader subclasses. > You call a non-class loader function that determines the file > type and creates an object of the matching sub-class, then > it returns a base-class-pointer. Yeah - that's exactly what I'm talking about when I talk about a 'factory' function. Give it a filename - get back the base class from which specific formats may either load into or derive from. |