summaryrefslogtreecommitdiffstats
path: root/ksirc/baserules.h
blob: 690ed28e9a19c080f3760a5771d7289d0ae3a84b (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
33
34
35
#ifndef KBASERULES_H
#define KBASERULES_H

#include "messageReceiver.h"

class KSMBaseRules : public KSircMessageReceiver
{
public:
  KSMBaseRules(KSircProcess *proc)
    : KSircMessageReceiver(proc)
    {
      broadcast = FALSE;
    }
  virtual ~KSMBaseRules()
    {
    }

  virtual void sirc_receive(QCString str, bool broadcast);

  virtual void control_message(int, QString);

  filterRuleList *defaultRules();

private:
  bool broadcast;
  char to[101];
  char match_us[101];
  char to_us[101];
  char msg1_match[101];
  char msg1_to[101];
  char msg2_match[101];
  char msg2_to[101];
};

#endif