|
From: Matt C. <mc-...@te...> - 2008-02-06 23:38:45
|
I've been looking into adding a new hildon gui to Navit, for the Nokia N770. I found these patches on the web: http://www.gnunux.info/projets/navit/ , but this is not very current and I doubt if they would apply to the current CVS tree. Still, they got me thinking. I've done some initial hacking: creating a new gui module, changing autoconf etc and I've got it working to a degree (it's not that difficult, since it's pretty much gtk anyway I think). This brings me to my question: Should this be a separate gui, or should I modify the gtk gui (with #ifdefs) to cater for the hildon changes? I can see pros/cons for both: new gui: cleaner code, but also some replication of code between the gtk and hildon guis. Could be harder to maintain in the future (bug fixes may be required to both gtk and hildon guis) modify gtk: Less duplication of code, but code could get messy with lots of conditional compilation. What do people think? Matt |