<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><div><div><div><div><div>.....snip...... <br></div></div></div></div></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><div><div><div><div><div><br></div><div>One option is to try to make next Subsurface the Subsurface 5:<br><br></div>We have an *Awesome* dive log, and we can continue to develop that, or we can do a step back and try to change the *bare minimum* on the core to facilitate the integration on the Qml engine without code duplication, my take on that would be to port the C-Structs to C++ Classes that inherit from QObject (because we can fed those to QML), not messing with the algorithms nor anything else that we don't need to touch - those should still be in C, algougth compiled with a c++ compiler to have C++ linkage and we can call their code  from QML, while also using those parts on the Desktop version reducing the amount of duplicated code.<br><br></div>Other option is to try to make next Subsurface the Subsurface 4.7:<br><br></div>Continue duplicating code for the Mobile version (that has a small userbase but will probabbly gain an increase of usage over the years) and cleaning / improving the Desktop version, changing things on the core as little as we need.<br><br></div>What you guys think?<br></div>I'm back on hacking, but I need directions, remember that I don't dive that much. :)<br><br></div>Tomaz<br></div>
<br></blockquote><div>Unfortunately I'm not a coder, but in my experience keeping the code easily maintainable is critical, particularly for a volunteer based program.  If moving to Subsurface 5 results in a more unified environment for desktop and mobile, then that seems like a great improvement for those who maintain this fantastic tool.  I'm all for keeping those guys sane because my contributions are so limited.</div><div><br></div><div>...Hartley</div></div><br></div></div>