summaryrefslogtreecommitdiffstats
path: root/ksirc/ioNotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ioNotify.h')
-rw-r--r--ksirc/ioNotify.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ksirc/ioNotify.h b/ksirc/ioNotify.h
new file mode 100644
index 00000000..e95edabe
--- /dev/null
+++ b/ksirc/ioNotify.h
@@ -0,0 +1,31 @@
+#ifndef KIONOTIFY_H
+#define KIONOTIFY_H
+
+#include <qobject.h>
+
+#include "messageReceiver.h"
+
+class KSircIONotify : public QObject,
+ public KSircMessageReceiver
+{
+ Q_OBJECT
+public:
+ KSircIONotify(KSircProcess *_proc);
+ virtual ~KSircIONotify();
+
+ virtual void sirc_receive(QCString, bool broadcast);
+ virtual void control_message(int, QString);
+
+ virtual filterRuleList *defaultRules();
+
+signals:
+ virtual void notify_online(QString);
+ virtual void notify_offline(QString);
+
+protected slots:
+
+private:
+ KSircProcess *proc;
+};
+
+#endif