diff options
Diffstat (limited to 'ksirc/baserules.h')
-rw-r--r-- | ksirc/baserules.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ksirc/baserules.h b/ksirc/baserules.h new file mode 100644 index 00000000..690ed28e --- /dev/null +++ b/ksirc/baserules.h @@ -0,0 +1,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 |