home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 1.9 KB | 68 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: FWString.fr
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef FWSTRING_FR
- #define FWSTRING_FR
-
- #ifndef FWARCOBJ_FR
- #include "FWArcObj.fr"
- #endif
-
- #ifndef FWSTRING_K
- #include "FWString.k"
- #endif
-
- //========================================================================================
- // type FW_RStringData
- //========================================================================================
-
- #define FW_kRomanScript 0
- #define FW_kLanguageEnglish 0
-
- type FW_RStringData
- {
- // NOTE: We currently write out 16-bit script and language codes.
- // A more general mechanism would be to write out the ODIText data
- // structure as is.
- ScriptCode:
- integer = FW_kRomanScript;
- LanguageCode:
- integer = FW_kLanguageEnglish;
- StringBytes:
- wstring; // a length-word followed by bytes
- };
-
- //========================================================================================
- // type FW_RString
- //========================================================================================
-
- type FW_RString(FW_kStringResourceType) : FW_RArchivableObject(Label='stri')
- {
- FW_RStringData;
- };
-
- //========================================================================================
- // type FW_RString32
- //========================================================================================
-
- type FW_RString32(FW_kStringResourceType) : FW_RString(Label='st32')
- {
- };
-
- //========================================================================================
- // type FW_RString255
- //========================================================================================
-
- type FW_RString255(FW_kStringResourceType) : FW_RString(Label='st25')
- {
- };
-
- #endif
-
-