summaryrefslogtreecommitdiffstats
path: root/ksirc/ioBroadcast.h
blob: 9bb33ff912af15eea99470848e9dee2a2f16212b (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
#ifndef KIOBROADCAST_H
#define KIOBROADCAST_H

#include "messageReceiver.h"

class KSircIOBroadcast : public KSircMessageReceiver
{
public:
  KSircIOBroadcast(KSircProcess *_proc) : KSircMessageReceiver(_proc)
    {
      proc = _proc;
      setBroadcast(FALSE);
    }
  virtual ~KSircIOBroadcast();

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

  virtual filterRuleList *defaultRules();

private:
  KSircProcess *proc;
};

#endif