[mythtv] Ticket #3077: Default CD Device selection
Eskil Heyn Olsen
myth at eskil.org
Thu Mar 8 19:22:03 UTC 2007
On Thu, 2007-03-08 at 12:37 +0000, Matthew Wire wrote:
> I already did some code to support both:
>
> #ifdef linux
...
> #endif
> return device.stripWhiteSpace();
> Well, I've been trying something like this:
> /*Needs to be editable for mac/windows since we don't (yet) detect
> devices
> * automatically for those OS's. */
> #ifdef linux
...
> #endif
Couldn't these things be done via polymorphism instead of ifdefs ?
eskil
---
More information about the mythtv-dev
mailing list