summaryrefslogtreecommitdiffstats
path: root/src/input/rebootSystemHandler.h
diff options
context:
space:
mode:
authorSebastien Braun2010-10-23 17:49:12 +0200
committerSebastien Braun2010-10-24 23:43:08 +0200
commit7e3b963e3a0cbbf9391243e72ceb015e9015d630 (patch)
treed980c26b837ef106e286ea3ed3562ee37ffbd0bf /src/input/rebootSystemHandler.h
parentFix forgotten change of j to mods in X11FakeKeyboardHandler. (diff)
downloadpvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.tar.gz
pvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.tar.xz
pvs-7e3b963e3a0cbbf9391243e72ceb015e9015d630.zip
Documentation fixes and code cleanup
Diffstat (limited to 'src/input/rebootSystemHandler.h')
-rw-r--r--src/input/rebootSystemHandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/rebootSystemHandler.h b/src/input/rebootSystemHandler.h
index 4920452..357dcad 100644
--- a/src/input/rebootSystemHandler.h
+++ b/src/input/rebootSystemHandler.h
@@ -20,10 +20,16 @@
#include <QCoreApplication>
#include "inputEventHandler.h"
+/**
+ * Reboot a Linux system.
+ */
class RebootLinuxSystemHandler : public InputEventHandler<
input_policy::Require<input_policy::LinuxSystem> >
{
public:
+ /**
+ * Send SIGINT to the process with PID 1.
+ */
void doHandle(InputEvent const&, InputEventContext const*);
};