summaryrefslogtreecommitdiffstats
path: root/ksirc/ioNotify.h
blob: 0aa475238e7adc4b6dd593b2d775b44ca738a68f (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
32
#ifndef KIONOTIFY_H
#define KIONOTIFY_H

#include <tqobject.h>

#include "messageReceiver.h"

class KSircIONotify : public TQObject,
		   public KSircMessageReceiver
{
  TQ_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