|
-
April 9th, 2008, 10:04 AM
#5
Re: Platform independent classes
 Originally Posted by JohnW@Wessex
You could create a base interface class with the cross platform functionality but with pure virtual platform dependent functions. Then define platform dependent concrete classes derived from it.
Actually, this is similar to the route I was thinking about taking. I just didn't know whether it would be the best path to start down, that's why I was wondering about other types of solutions that I haven't thought about or just aren't aware of. Thanks for your input.
 Originally Posted by _uj
Have a look at the Bridge Design Pattern.
I'm not familar with this particular design pattern, but I'll take a look at it. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|