[Vala] Conditional compilation



Hi again,

   Is it possible to do conditional compilation in vala similar to
using the C preprocessor #ifdef ?  I am at the stage of my program's
development where I have two different but similar sets of gui code
(one for the desktop using Cairo, and one for Nokia's Maemo which
doesn't have Cairo).  I'd rather not have and maintain separate sets
of vala files for each because that ends up with a lot of code
duplication, if I don't have to.

Cayle in Missouri



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]