summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-23 20:30:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-15 11:20:49 -0700
commitbd7196d93e7901333dc408560d462034e9d9a0ea (patch)
tree9bb059f1ff1d8c9690a285811558434a890ce328 /desktop-widgets/command.h
parent03d5e641e1284b9613f605690d04faf48ac40715 (diff)
downloadsubsurface-bd7196d93e7901333dc408560d462034e9d9a0ea.tar.gz
Cleanup: unify comments in desktop-widgets/command.h
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/command.h')
-rw-r--r--desktop-widgets/command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h
index 6fbd6bab5..fec5d76a9 100644
--- a/desktop-widgets/command.h
+++ b/desktop-widgets/command.h
@@ -10,6 +10,7 @@
namespace Command {
// 1) General commands
+
void init(); // Setup signals to inform frontend of clean status.
void clear(); // Reset the undo stack. Delete all commands.
void setClean(); // Call after save - this marks a state where no changes need to be saved.
@@ -73,7 +74,8 @@ int editBuddies(const QStringList &newList, bool currentDiveOnly);
int editDiveMaster(const QStringList &newList, bool currentDiveOnly);
void pasteDives(const dive *d, dive_components what);
-// 4) Trip editing commands
+// 5) Trip editing commands
+
void editTripLocation(dive_trip *trip, const QString &s);
void editTripNotes(dive_trip *trip, const QString &s);