[Laszlo-dev] How (or whether) to convert lzModeManager to a real class
Donald Anderson
dda at ddanderson.com
Sun Mar 23 14:10:51 PDT 2008
If they are quite different, that seems like a good approach.
If they are more similar, I think you can use the if directive within
a class:
class foo extends bar {
if ($swf9) {
static function x() { }
}
...
}
On Mar 23, 2008, at 4:18 PM, Henry Minsky wrote:
>
>
>
> I guess in order to make platform-specific extensions in separate
> files, I ought to make a base abstract subclass, and then
> have each runtime declare the actual LzModeManager class in its
> platform/runtime/... directory ?
>
> I mean make an abstract base class, like LzModeManagerBase, and then
> have the platform-specific subclasses actually
> define lzModeManager in the various platform/runtime/...
> directories.. .
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080323/92bb00e2/attachment.html
More information about the Laszlo-dev
mailing list