mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: turn existing_filename into std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
37f2207f94
commit
41cb916060
10 changed files with 59 additions and 55 deletions
|
|
@ -207,8 +207,6 @@ extern void invalidate_dive_cache(struct dive *dc);
|
|||
|
||||
extern int total_weight(const struct dive *);
|
||||
|
||||
extern const char *existing_filename;
|
||||
|
||||
extern bool has_planned(const struct dive *dive, bool planned);
|
||||
|
||||
/* Get gasmixes at increasing timestamps.
|
||||
|
|
@ -229,8 +227,11 @@ extern void update_setpoint_events(const struct dive *dive, struct divecomputer
|
|||
* QVariants and through QML.
|
||||
*/
|
||||
#include <QObject>
|
||||
#include <string>
|
||||
Q_DECLARE_METATYPE(struct dive *);
|
||||
|
||||
extern std::string existing_filename;
|
||||
|
||||
#endif
|
||||
|
||||
#endif // DIVE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue