Cleanup: Unify qthelper.h and qthelperfromc.h

Since all qt-helpers are defined in qthelper.cpp, there seems to be
no reason to have two include files. By unifying the two files,
duplication and inconsistencies are removed. The C++-only part is
simply compiled away with #ifdefs.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-02-24 23:28:13 +01:00 committed by Lubomir I. Ivanov
parent e2a6b96db8
commit cd5e17cf79
19 changed files with 65 additions and 73 deletions

View file

@ -15,7 +15,7 @@
#include "planner.h"
#include "gettext.h"
#include "libdivecomputer/parser.h"
#include "qthelperfromc.h"
#include "qthelper.h"
#include "version.h"
int diveplan_duration(struct diveplan *diveplan)