- /*
- * Copyright 2003 Perforce Software. All rights reserved.
- *
- * This file is part of Perforce - the FAST SCM System.
- */
- /*
- * I18NAPI.h - API support for charset conversion identifiers
- *
- */
- class CharSetApi {
- public:
- /*
- * The CharSet enum provides the values for the ClientApi::SetTrans
- * api call. You may need to cast to (int)
- */
- enum CharSet {
- NOCONV = 0, UTF_8, ISO8859_1, UTF_16, SHIFTJIS, EUCJP,
- WIN_US_ANSI, WIN_US_OEM, MACOS_ROMAN, ISO8859_15, ISO8859_5,
- KOI8_R, WIN_CP_1251, UTF_16_LE, UTF_16_BE,
- UTF_16_LE_BOM, UTF_16_BE_BOM, UTF_16_BOM, UTF_8_BOM, UTF_32,
- UTF_32_LE, UTF_32_BE, UTF_32_LE_BOM, UTF_32_BE_BOM, UTF_32_BOM,
- UTF_8_UNCHECKED, UTF_8_UNCHECKED_BOM, CP949
- };
- static CharSet Lookup(const char *);
- static const char *Name(CharSet);
- static int Granularity(CharSet);
- static int isUnicode(CharSet);
- };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7893 | Johan Nilsson | OFFLINE CHANGELIST 10 - SUBMITTED ON 2011/03/23 11:18:27 Upgrade project files to VS2010... and switching to msbuild for the entire project. Retargeted everything to .NET4 Client Profile for the time being, due to VS2010 C++ limitations (can't target anything other than 4.0 without complicating the setup too much). Shouldn't be too hard to retarget later if push comes to shove. Added VS2010 P4API stuff directly inside this project also to make things easier to get up and running for the moment. Removed old static P4API libraries. ____________________________________________________________ OFFLINE CHANGELIST 9 - SUBMITTED ON 2011/03/22 07:35:31 Converted to VS2010 « |
14 years ago |