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

« back to all changes in this revision

Viewing changes to protocols/irc/libkirc/kernel/kircmessageutil.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
    kircmessageutil.h - Some utilities to build some message.
 
3
 
 
4
    Copyright (c) 2005-2007 by Michel Hermier <michel.hermier@gmail.com>
 
5
 
 
6
    Kopete    (c) 2005-2007 by the Kopete developers <kopete-devel@kde.org>
 
7
 
 
8
    *************************************************************************
 
9
    *                                                                       *
 
10
    * This program is free software; you can redistribute it and/or modify  *
 
11
    * it under the terms of the GNU General Public License as published by  *
 
12
    * the Free Software Foundation; either version 2 of the License, or     *
 
13
    * (at your option) any later version.                                   *
 
14
    *                                                                       *
 
15
    *************************************************************************
 
16
*/
 
17
 
 
18
#ifndef KIRCMESSAGEUTIL_H
 
19
#define KIRCMESSAGEUTIL_H
 
20
 
 
21
#include <QByteArray>
 
22
 
 
23
namespace KIrc {
 
24
namespace MessageUtil {
 
25
 
 
26
extern QByteArray quote(const QByteArray &buffer);
 
27
extern QByteArray unquote(const QByteArray &buffer);
 
28
 
 
29
#ifndef KIRC_STRICT
 
30
 
 
31
extern QByteArray quoteCtcp(const QByteArray &buffer);
 
32
extern QByteArray unquoteCtcp(const QByteArray &buffer);
 
33
 
 
34
//extern void writeCtcpQueryMessage(const QString &to, const QString &ctcpMessage, QTextCodec *codec = 0);
 
35
//extern void writeCtcpReplyMessage(const QString &to, const QString &ctcpMessage, QTextCodec *codec = 0);
 
36
 
 
37
//extern void writeCtcpErrorMessage(const QString &to, const QString &ctcpLine, const QString &errorMsg, QTextCodec *codec = 0);
 
38
 
 
39
#endif
 
40
 
 
41
} // MessageUtil
 
42
}
 
43
 
 
44
#endif
 
45