summaryrefslogtreecommitdiffstats
path: root/ksirc/ioNotify.h
blob: b5a9890efbb6e6672b95f41c170cd6cfb864c2e9 (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 <tqobject.h>

#include "messageReceiver.h"

class KSircIONotify : public TQObject,
		   public KSircMessageReceiver
{
  Q_OBJECT
public:
  KSircIONotify(KSircProcess *_proc);
  virtual ~KSircIONotify();

  virtual void sirc_receive(TQCString, bool broadcast);
  virtual void control_message(int, TQString);

  virtual filterRuleList *defaultRules();

signals:
  virtual void notify_online(TQString);
  virtual void notify_offline(TQString);

protected slots:

private:
  KSircProcess *proc;
};

#endif