mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use C API for printGPSCoords
This way we can call this helper from both C and C++ code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
12f422a1a3
commit
06bbf9f4c8
2 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ extern QTranslator *qtTranslator, *ssrfTranslator;
|
|||
|
||||
QString weight_string(int weight_in_grams);
|
||||
bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0);
|
||||
QString printGPSCoords(int lat, int lon);
|
||||
extern "C" const char *printGPSCoords(int lat, int lon);
|
||||
QList<int> getDivesInTrip(dive_trip_t *trip);
|
||||
QString gasToStr(struct gasmix gas);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue