diff options
-rw-r--r-- | desktop-widgets/command.cpp | 1 | ||||
-rw-r--r-- | desktop-widgets/command.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index 4bbd5e059..35010b3c3 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -234,6 +234,7 @@ void pasteDives(const dive *d, dive_components what) execute(new PasteDives(d, what)); } +// Trip editing related commands void editTripLocation(dive_trip *trip, const QString &s) { execute(new EditTripLocation(trip, s)); 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); |