lib

entities.h

00001 //
00002 // Created: Tue Aug 29 16:20:33 2006
00003 //      by: bynames.py
00004 //    from: byalpha.html
00005 //
00006 // WARNING! All changes made in this file will be lost!
00007 
00008 /* This file is part of the KDE project
00009    Copyright (C) 2006 Alfredo Beaumont Sainz <alfredo.beaumont@gmail.com>
00010 
00011    This library is free software; you can redistribute it and/or
00012    modify it under the terms of the GNU Library General Public
00013    License as published by the Free Software Foundation; either
00014    version 2 of the License, or (at your option) any later version.
00015  
00016    This library is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019    Library General Public License for more details.
00020  
00021    You should have received a copy of the GNU Library General Public License
00022    along with this library; see the file COPYING.LIB.  If not, write to
00023    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00024  * Boston, MA 02110-1301, USA.
00025 */
00026 
00027 
00028 #ifndef ENTITIES_H
00029 #define ENTITIES_H
00030 
00031 #include "kformuladefs.h"
00032 
00033 KFORMULA_NAMESPACE_BEGIN
00034     
00035 struct entityMap {
00036     static int size();
00037     int operator<( const char* right ) const {
00038         return strcmp( name, right ) < 0;
00039     }
00040     const char* name;
00041     const uint unicode;
00042 };
00043     
00044 extern const entityMap entities[];
00045 
00046 KFORMULA_NAMESPACE_END
00047 
00048 #endif // ENTITIES_H
00049 
KDE Home | KDE Accessibility Home | Description of Access Keys