~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/irc/libkirc/kernel/kirchandler_p.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    kirchandler_p.h - IRC handler private.
 
3
 
 
4
    Copyright (c) 2008      by Michel Hermier <michel.hermier@gmail.com>
 
5
 
 
6
    *************************************************************************
 
7
    *                                                                       *
 
8
    * This program is free software; you can redistribute it and/or modify  *
 
9
    * it under the terms of the GNU General Public License as published by  *
 
10
    * the Free Software Foundation; either version 2 of the License, or     *
 
11
    * (at your option) any later version.                                   *
 
12
    *                                                                       *
 
13
    *************************************************************************
 
14
*/
 
15
 
 
16
#ifndef KIRCHANDLER_P_H
 
17
#define KIRCHANDLER_P_H
 
18
 
 
19
#include "kirchandler.h"
 
20
 
 
21
#include <QtCore/QByteArray>
 
22
#include <QtCore/QMultiHash>
 
23
 
 
24
class KIrc::HandlerPrivate
 
25
{
 
26
public:
 
27
        HandlerPrivate()
 
28
                : enabled(true)
 
29
        {
 
30
        }
 
31
 
 
32
        bool enabled;
 
33
        QList<KIrc::Handler*> eventHandlers;
 
34
        QMultiHash<QByteArray, QByteArray> commandAliases;
 
35
        QMultiHash<QByteArray, QByteArray> messageAliases;
 
36
};
 
37
 
 
38
#endif // KIRCHANDLER_P_H