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
[EMAIL PROTECTED]




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]



--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com




Reply via email to