Changeset 147 for trunk/include
- Timestamp:
- Mar 16, 2002, 8:53:47 AM (23 years ago)
- Location:
- trunk/include
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/encodings/alltables.h
r37 r147 27 27 // #include "encodings\cp949.h" 28 28 // #include "encodings\cp950.h" 29 #include "encodings\cp1004.h" // added V0.9.18 (2002-03-08) [umoeller] 29 30 #include "encodings\cp1250.h" 30 31 #include "encodings\cp1251.h" -
trunk/include/encodings/base.h
r97 r147 16 16 /* 17 17 *@@ XWPENCODINGMAP: 18 * entry in a n 8-bit toUnicode conversion table.18 * entry in a codepage-to-Unicode conversion table. 19 19 */ 20 20 21 21 typedef struct _XWPENCODINGMAP 22 22 { 23 unsigned short us From;23 unsigned short usCP; 24 24 unsigned short usUni; 25 25 } XWPENCODINGMAP, *PXWPENCODINGMAP; 26 26 27 27 /* 28 *@@ XWPENCODINGID:28 *@@ ENCID: 29 29 * enum identifying each encoding set which is 30 30 * generally supported. Each ID corresponds to … … 32 32 */ 33 33 34 typedef enum _ XWPENCODINGID34 typedef enum _ENCID 35 35 { 36 UNSUPPORTED, 36 37 enc_cp437, 37 38 enc_cp737, … … 54 55 enc_cp949, 55 56 enc_cp950, 57 enc_cp1004, // added V0.9.18 (2002-03-08) [umoeller] 56 58 enc_cp1250, 57 59 enc_cp1251, … … 76 78 enc_iso8859_14, 77 79 enc_iso8859_15 78 } XWPENCODINGID; 80 } ENCID; 81 82 /* 83 *@@ CONVERSION: 84 * 85 *@@added V0.9.18 (2002-03-08) [umoeller] 86 */ 87 88 typedef struct _CONVERSION 89 { 90 ENCID EncodingID; 91 92 // to get Unicode for character 123 in the specific 93 // encoding, do pTable->ausEntriesUniFromCP[123]. 94 // If you get 0xFFFF, the encoding is undefined. 95 unsigned short usHighestCP; 96 unsigned short *ausEntriesUniFromCP; // usHighestCP + 1 entries 97 98 // to get codepage for unicode character 123, 99 // do pTable->ausEntriesCPFromUni[123]. 100 // If you get 0xFFFF, the encoding is undefined. 101 unsigned short usHighestUni; 102 unsigned short *ausEntriesCPFromUni; // usHighestUni + 1 entries 103 104 } CONVERSION, *PCONVERSION; 105 106 typedef enum _ENCBYTECOUNT 107 { 108 SINGLE, 109 DOUBLE, 110 EBCDIC, 111 MULTI_UNICODE, 112 UNKNOWN 113 } ENCBYTECOUNT; 114 115 ENCID encFindIdForCodepage(unsigned short usCodepage, 116 const char **ppcszDescription, 117 ENCBYTECOUNT *pByteCount); 118 119 PCONVERSION encCreateCodec(ENCID id); 120 121 void encFreeCodec(PCONVERSION *ppTable); 122 123 unsigned long encChar2Uni(PCONVERSION pTable, 124 unsigned short c); 125 126 unsigned short encUni2Char(PCONVERSION pTable, 127 unsigned long ulUni); 79 128 80 129 unsigned long encDecodeUTF8(const char **ppch); -
trunk/include/encodings/cp1250.h
r37 r147 3 3 *@@sourcefile cp1250.h: 4 4 * encoding translation for CP1250 to Unicode. 5 * 6 * Note: From my checking, 1250 is exactly the 7 * same as 1004, except for character point 0xAF. 5 8 * 6 9 *@@added V0.9.9 (2001-02-10) [umoeller] -
trunk/include/encodings/cp1252.h
r37 r147 3 3 *@@sourcefile cp1252.h: 4 4 * encoding translation for CP1252 to Unicode. 5 * 6 * Note: From my checking, 1252 is exactly the 7 * same as 1004, except for codepoint 0xAF. 5 8 * 6 9 *@@added V0.9.9 (2001-02-10) [umoeller] -
trunk/include/helpers/cnrh.h
r113 r147 86 86 { 87 87 ULONG ulFieldOffset; 88 P SZpszColumnTitle;88 PCSZ pszColumnTitle; 89 89 ULONG ulDataType; 90 90 ULONG ulOrientation; … … 450 450 * This can only be used after BEGIN_CNRINFO(). 451 451 * 452 * Container sort funcs must have this prototype: 453 + 454 + SHORT EXPENTRY fnCompare(PRECORDCORE p1, PRECORDCORE p2, PVOID pStorage) 455 * 452 456 *@@added V0.9.0 453 457 */ -
trunk/include/helpers/configsys.h
r117 r147 66 66 // -- CFGRPL_REMOVEPART mode (5) 67 67 68 P SZpszUniqueSearchString2;68 PCSZ pszUniqueSearchString2; 69 69 // for UNIQUE(statement2): 70 70 // the "statement2" to search for … … 76 76 // 2: add before pszSearchString 77 77 // 3: add after pszSearchString 78 P SZpszVerticalSearchString;78 PCSZ pszVerticalSearchString; 79 79 // for iVertical == 2 or 3 80 80 81 P SZpszNewLine;81 PCSZ pszNewLine; 82 82 // this is a copy of stuff before the "|" char 83 83 // in pszConfigSys given to the constructor -
trunk/include/helpers/linklist.h
r141 r147 95 95 #define LINKLISTMAGIC 0xf124 // could be anything 96 96 97 typedef signed short _SystemFNSORTLIST(void*, void*, void*);97 typedef signed short XWPENTRY FNSORTLIST(void*, void*, void*); 98 98 // changed V0.9.0 (99-10-22) [umoeller] 99 99 typedef FNSORTLIST *PFNSORTLIST; -
trunk/include/helpers/nls.h
r115 r147 99 99 APIRET XWPENTRY nlsUpper(PSZ psz, ULONG ulLength); 100 100 101 /* 102 *@@ STRINGENTITY: 103 * 104 *@@added V0.9.16 (2001-09-29) [umoeller] 105 */ 106 107 typedef struct _STRINGENTITY 108 { 109 PCSZ pcszEntity; 110 PCSZ *ppcszString; 111 } STRINGENTITY, *PSTRINGENTITY; 112 113 typedef const struct _STRINGENTITY *PCSTRINGENTITY; 114 115 VOID nlsInitStrings(HAB hab, 116 HMODULE hmod, 117 PCSTRINGENTITY paEntities, 118 ULONG cEntities); 119 120 PCSZ nlsGetString(ULONG ulStringID); 121 101 122 #endif 102 123 -
trunk/include/helpers/stringh.h
r143 r147 145 145 ULONG XWPENTRY strhGetBlock(const char *pszSearchIn, 146 146 PULONG pulSearchOffset, 147 PSZpszTag,147 const char *pszTag, 148 148 PSZ *ppszBlock, 149 149 PSZ *ppszAttribs, -
trunk/include/helpers/tmsgfile.h
r113 r147 54 54 PCSZ pcszMessageName, 55 55 PXSTRING pstr, 56 P SZ *pTable,56 PCSZ *pTable, 57 57 ULONG cTableEntries); 58 58 -
trunk/include/helpers/winh.h
r135 r147 652 652 653 653 BOOL XWPENTRY winhAdjustControls(HWND hwndDlg, 654 MPARAM *pmpFlags,654 const MPARAM *pmpFlags, 655 655 ULONG ulCount, 656 656 PSWP pswpNew,
Note:
See TracChangeset
for help on using the changeset viewer.