summaryrefslogtreecommitdiffstats
path: root/commands/command_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_device.h')
-rw-r--r--commands/command_device.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/commands/command_device.h b/commands/command_device.h
index c1cf1a240..b948e63e9 100644
--- a/commands/command_device.h
+++ b/commands/command_device.h
@@ -12,24 +12,9 @@ struct device;
// We put everything in a namespace, so that we can shorten names without polluting the global namespace
namespace Command {
-class RemoveDevice final : public Base {
-public:
- RemoveDevice(int index);
-private:
- // for undo
- device dev;
-
- // for redo
- int index;
-
- void undo() override;
- void redo() override;
- bool workToBeDone() override;
-};
-
class EditDeviceNickname final : public Base {
public:
- EditDeviceNickname(int index, const QString &nickname);
+ EditDeviceNickname(const divecomputer *dc, const QString &nickname);
private:
// for redo and undo
int index;