1 /*--------------------------------------------------------------------*//*:Ignore this sentence. 2 Copyright (C) 1999, 2001 SIL International. All rights reserved. 3 4 Distributable under the terms of either the Common Public License or the 5 GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 7 File: GrAppData.h 8 Responsibility: Sharon Correll 9 Last reviewed: not yet 10 11 Description: 12 Data structures need by applications that use the Graphite engine. 13 ----------------------------------------------------------------------------------------------*/ 14 15 16 #ifndef GRAPPDATA_INCLUDED 17 #define GRAPPDATA_INCLUDED 18 19 #include "GrData.h" 20 21 namespace gr 22 { 23 24 typedef unsigned int featid; // font feature IDs 25 typedef unsigned int lgid; // language ID (for access feature UI strings) 26 typedef unsigned int toffset; // text-source index 27 28 typedef struct { // ISO-639-3 language code (for mapping onto features) 29 char rgch[4]; 30 } isocode; 31 32 } // namespace gr 33 34 #if defined(GR_NO_NAMESPACE) 35 using namespace gr; 36 #endif 37 38 #endif // GRAPPDATA_INCLUDED 39 40