Communi 1.0.0
A cross-platform IRC client library written with Qt 4
include/ircutil.h
Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2008-2011 J-P Nurmi <jpnurmi@gmail.com>
00003 *
00004 * This library is free software; you can redistribute it and/or modify it
00005 * under the terms of the GNU Lesser General Public License as published by
00006 * the Free Software Foundation; either version 2 of the License, or (at your
00007 * option) any later version.
00008 *
00009 * This library is distributed in the hope that it will be useful, but WITHOUT
00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00012 * License for more details.
00013 */
00014 
00015 #ifndef IRCUTIL_H
00016 #define IRCUTIL_H
00017 
00018 #include <IrcGlobal>
00019 
00020 class COMMUNI_EXPORT IrcUtil
00021 {
00022 public:
00023     static QString messageToHtml(const QString& message);
00024     static QString colorCodeToName(int code);
00025 };
00026 
00027 #endif // IRCUTIL_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Defines