diff options
author | danglassey <danglassey> | 2002-08-14 09:55:38 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-08-14 09:55:38 +0000 |
commit | 6d6973e035aac5ec1676efccd5b8ada70c40b639 (patch) | |
tree | 4e92da327f60a083fe610e6b68d016434653b5b4 /include/Greek2Greek.h | |
parent | c9458897ebbb739d8db83c80e06512d8a612f743 (diff) | |
download | sword-sf-cvs-6d6973e035aac5ec1676efccd5b8ada70c40b639.tar.gz |
Initial import for syncing from crosswire CVS
Diffstat (limited to 'include/Greek2Greek.h')
-rw-r--r-- | include/Greek2Greek.h | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/include/Greek2Greek.h b/include/Greek2Greek.h deleted file mode 100644 index 9770ea2..0000000 --- a/include/Greek2Greek.h +++ /dev/null @@ -1,114 +0,0 @@ -//***************************************************************************** -// Author : William Dicks *** -// Date Created: 10 February 1998 *** -// Purpose : Interface for Greek to b-Greek conversion and vice versa *** -// File Name : Greek2Greek.h *** -// *** -// Author info : ---------------------------------------------------------- *** -// Address : 23 Tieroogpark *** -// : Hoewe Str *** -// : Elarduspark X3 *** -// : 0181 *** -// : South Africa *** -// Home Tel: +27 (0)12 345 3166 *** -// Cell No : +27 (0)82 577 4424 *** -// e-mail : wd@isis.co.za *** -// Church WWW : http://www.hatfield.co.za *** -//***************************************************************************** -/* - * - * $Id: Greek2Greek.h,v 1.2 2001/02/09 15:38:51 jansorg Exp $ - * - * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) - * CrossWire Bible Society - * P. O. Box 2528 - * Tempe, AZ 85280-2528 - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - */ - -#ifndef __GREEK2GREEK -#define __GREEK2GREEK - -//***************************************************************************** -// Used to convert a string created by using the Greek font supplied with the -// Sword Project to a string that conforms to the b-Greek discussion list -// method of transliteration. -//***************************************************************************** -unsigned char Greek2bGreek (unsigned char *sResult, unsigned char *sGreekText, - int nMaxResultBuflen); - -//***************************************************************************** -// Used to convert a string created by using the b-Greek method of -// transliteration to a string that can be converted to a Greek-font readable -// string. -//***************************************************************************** -unsigned char bGreek2Greek (unsigned char *sResult, - unsigned char *sGreekText, int nMaxResultBuflen); - -//***************************************************************************** -// Parse a Greek font created string and return the b-Greek equivalent -//***************************************************************************** -int ParseGreek (unsigned char *sResult, - unsigned char *sGreekText, int nMaxResultBuflen); - -//***************************************************************************** -// Parse a b-Greek string and return the Greek font equivalent -//***************************************************************************** -int ParsebGreek (unsigned char *sResult, - unsigned char *sGreekText, int nMaxResultBuflen); - -//***************************************************************************** -// Convert a unsigned character to a GREEK font unsigned character -//***************************************************************************** -unsigned char char2Font (unsigned char letter, // bGreek letter to convert to Font letter - bool finalSigma, // Is it a final SIGMA - bool iota, // TRUE = IOTA subscript; FALSE = No IOTA - bool breathing, // TRUE = add breathing; FALSE = no breathing - bool rough); // TRUE = rough breathing; False = smooth - -//***************************************************************************** -// Convert a GREEK font unsigned character to a unsigned character -//***************************************************************************** -unsigned char Font2char (unsigned char letter, // bGreek letter to convert to Font letter - bool & iota, // TRUE = IOTA subscript; FALSE = No IOTA - bool & breathing, // TRUE = add breathing; FALSE = no breathing - bool & rough); // TRUE = rough breathing; False = smooth - - -//***************************************************************************** -// Identify and return a bGreek letter from a special font char -//***************************************************************************** -bool getSpecialChar (unsigned char Font, unsigned char &letter); - -//***************************************************************************** -// true if the font character is a special character; false it isn't -//***************************************************************************** -bool SpecialGreek (unsigned char Font); - -//***************************************************************************** -// Return Greek font puntuation from bGreek punstuation -//***************************************************************************** -unsigned char getGreekPunct (unsigned char bGreek); - -//***************************************************************************** -// Return bGreek puntuation from Greek font punstuation -//***************************************************************************** -unsigned char getbGreekPunct (unsigned char Greek); - -//***************************************************************************** -// Is the character punctuation or a space: true it is, false it isn't -//***************************************************************************** -bool isPunctSpace (unsigned char c); - - - -#endif // __GREEK2GREEK |