clipka <ano### [at] anonymousorg> wrote:
> Here's another idea - a bit kludgey as well, but what the heck:
> struct MyIDirectFB;
> class dfbScreen
> {
> MyIDirectFB* dfb;
> ...
> };
> and in your .cpp:
> struct MyIDirectFB
> {
> IDirectFB data;
> };
Inheritance achieves the exact same thing, except that it makes MyIDirectFB
to be of type IDirectFB directly.
--
- Warp
Post a reply to this message
|