[sword-cvs] sword/include swlocale.h,1.11,1.12

sword@www.crosswire.org sword@www.crosswire.org
Sun, 18 Jan 2004 13:24:06 -0700


Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv16728/include

Modified Files:
	swlocale.h 
Log Message:
added Encoding value to SWLocale


Index: swlocale.h
===================================================================
RCS file: /cvs/core/sword/include/swlocale.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- swlocale.h	27 Jun 2003 01:41:06 -0000	1.11
+++ swlocale.h	18 Jan 2004 20:24:04 -0000	1.12
@@ -45,6 +45,7 @@
 	SWConfig *localeSource;
 	char *name;
 	char *description;
+	char *encoding;
 	struct abbrev *bookAbbrevs;
 	char *BMAX;
 	struct sbook **books;
@@ -62,6 +63,7 @@
 	* @return The description. A possible example is "German".
 	*/
 	virtual const char *getDescription();
+	virtual const char *getEncoding();
 	virtual const char *translate(const char *text);
 	virtual void augment(SWLocale &addFrom);
 	virtual SWLocale & operator +=(SWLocale &addFrom) { augment(addFrom); return *this; }