summaryrefslogtreecommitdiffstats
path: root/src/input/pvsSyslog.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/pvsSyslog.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/pvsSyslog.h')
-rw-r--r--src/input/pvsSyslog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/pvsSyslog.h b/src/input/pvsSyslog.h
index 8c9591a..36ee2e0 100644
--- a/src/input/pvsSyslog.h
+++ b/src/input/pvsSyslog.h
@@ -20,6 +20,9 @@
#include <QObject>
#include <QString>
+/**
+ * Listen on a socket or a pipe and redirect input lines to a child class.
+ */
class PVSLogRedirector : public QObject
{
Q_OBJECT
@@ -33,6 +36,9 @@ private:
QByteArray _buf;
};
+/**
+ * Redirect log lines to a Unix syslog service.
+ */
class PVSSyslogRedirector : public PVSLogRedirector
{
public:
@@ -46,6 +52,9 @@ protected:
class QFile;
class QTextStream;
+/**
+ * Redirect log lines to a file.
+ */
class PVSLogfileRedirector : public PVSLogRedirector
{
public: