Hi all,<br>
&nbsp; my work of porting a piece of code is going on.. Now I have a bunch of classes of this sort:<br>
<br>
FooObject&nbsp; (the original class)<br>
FooObjectSqueak&nbsp; (the class that contains the squeak implementation and that derives from FooObject)<br>
<br>
Now I have a sort of design question. I have some examples and I want
not to change them. So I&nbsp; want to be able to switch from one
implementation to the other. How can I rewrite my classes so that I can
call FooObject but really execute FooObjectSqueak code?<br>
<br>
Ii think I will have a sort of wrapper class, but&nbsp; I don't know
how to switch from one implementation to the other as cleanly&nbsp; as
possible... any advice?<br>
<br>
thanks a lot,<br>
&nbsp; nelson<br>