summaryrefslogtreecommitdiff
path: root/src/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/actions.h b/src/actions.h
index 809e94ee..153f1bad 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -428,6 +428,7 @@ struct VolumeUp: BaseAction
VolumeUp(): BaseAction(Type::VolumeUp, "volume_up") { }
private:
+ virtual bool canBeRun() override;
virtual void run() override;
};
@@ -436,6 +437,7 @@ struct VolumeDown: BaseAction
VolumeDown(): BaseAction(Type::VolumeDown, "volume_down") { }
private:
+ virtual bool canBeRun() override;
virtual void run() override;
};
@@ -791,6 +793,7 @@ struct SetVolume: BaseAction
SetVolume(): BaseAction(Type::SetVolume, "set_volume") { }
private:
+ virtual bool canBeRun() override;
virtual void run() override;
};