summaryrefslogtreecommitdiffstats
path: root/ksirc/ioNotify.h
blob: e95edabe99018bd940810abe3762a36c0ed3e2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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