KVIrc 5.2.6
Developer APIs
KviTranslationEntry.h
Go to the documentation of this file.
1#ifndef _KVITRANSLATIONENTRY_H_
2#define _KVITRANSLATIONENTRY_H_
3//=============================================================================
4//
5// File : KviTranslationEntry.h
6// Creation date : Wed 23 Mar 2011 03:32:12
7// Originally in KviLocale.h
8// Created on: Sat Jan 16 1999 18:15:01 by Szymon Stefanek
9//
10// This file is part of the KVIrc IRC client distribution
11// Copyright (C) 1999-2010 Szymon Stefanek (pragma at kvirc dot net)
12//
13// This program is FREE software. You can redistribute it and/or
14// modify it under the terms of the GNU General Public License
15// as published by the Free Software Foundation; either version 2
16// of the License, or (at your option) any later version.
17//
18// This program is distributed in the HOPE that it will be USEFUL,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21// See the GNU General Public License for more details.
22//
23// You should have received a copy of the GNU General Public License
24// along with this program. If not, write to the Free Software Foundation,
25// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26//
27//=============================================================================
28
36
37#include "kvi_settings.h"
38#include "KviCString.h"
39#include "KviHeapObject.h"
40
41class QString;
42
50{
51 friend class KviMessageCatalogue;
52
53private:
56 QString * m_pTranslation;
57
58public:
67 KviTranslationEntry(char * pcKey, int iKeyLen, char * pcTr, int iTrLen);
68
74 KviTranslationEntry(const char * pcKeyAndTr);
75
80};
81
82#endif //_KVITRANSLATIONENTRY_H_
Heap Object.
Definition KviCString.h:102
Definition KviHeapObject.h:119
QString * m_pTranslation
Definition KviTranslationEntry.h:56
KviTranslationEntry(char *pcKey, int iKeyLen, char *pcTr, int iTrLen)
Creates an instance of KviTranslationEntry.
Definition KviTranslationEntry.cpp:31
KviCString m_szEncodedTranslation
Definition KviTranslationEntry.h:55
friend class KviMessageCatalogue
Definition KviTranslationEntry.h:51
KviCString m_szKey
Definition KviTranslationEntry.h:54
This file contains compile time settings.
#define KVILIB_API
Definition kvi_settings.h:124