mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
planner: use std::string in plannernotes.cpp
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8b51ff7ded
commit
4db19d6284
5 changed files with 120 additions and 129 deletions
|
@ -48,7 +48,6 @@ extern int get_cylinderid_at_time(struct dive *dive, struct divecomputer *dc, du
|
|||
extern bool diveplan_empty(struct diveplan *diveplan);
|
||||
extern void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_disclaimer, int error);
|
||||
extern const char *get_planner_disclaimer();
|
||||
extern char *get_planner_disclaimer_formatted();
|
||||
|
||||
extern void free_dps(struct diveplan *diveplan);
|
||||
|
||||
|
@ -64,6 +63,8 @@ struct decostop {
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#include <string>
|
||||
extern std::string get_planner_disclaimer_formatted();
|
||||
extern bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, int timestep, struct decostop *decostoptable, deco_state_cache &cache, bool is_planner, bool show_disclaimer);
|
||||
#endif
|
||||
#endif // PLANNER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue