📄 chinesedisplayapp.inc
字号:
HBufC8* iEBufCPtrType;
};
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 618
typedef TRefByValue<const TDesC8> __TRefDesC8;
template <TInt S>
class TLitC8
#line 640
{
public:
inline const TDesC8* operator&() const;
inline operator const TDesC8&() const;
inline const TDesC8& operator()() const;
inline operator const __TRefDesC8() const;
public:
TUint iTypeLength;
TText8 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt8))-1)/(sizeof(TInt)/sizeof(TInt8)))*(sizeof(TInt)/sizeof(TInt8))) ];
};
#line 1106 "D:\\Symbian\\9.2\\S60_3rd_FP1\\epoc32\\include\\e32cmn.h" /* stack depth 6 */
#line 1 "D:\\Symbian\\9.2\\S60_3rd_FP1\\epoc32\\include\\e32des16.h" /* stack depth 7 */
#line 12
const TUint KMaskDesLength16=0xfffffff;
const TInt KShiftDesType16=28;
class TBufCBase16;
class TDes16;
class TPtrC16;
class TPtr16;
struct TCollationMethod;
class HBufC16;
class HBufC8;
class TDesC16
#line 48
{
public:
enum TPrefix {
EIsPrefix = 0,
EMightBePrefix = 1,
EIsNotPrefix = 2
};
public:
inline TBool operator<(const TDesC16 &aDes) const;
inline TBool operator<=(const TDesC16 &aDes) const;
inline TBool operator>(const TDesC16 &aDes) const;
inline TBool operator>=(const TDesC16 &aDes) const;
inline TBool operator==(const TDesC16 &aDes) const;
inline TBool operator!=(const TDesC16 &aDes) const;
inline const TUint16 &operator[](TInt anIndex) const;
inline TInt Length() const;
inline TInt Size() const;
__declspec(dllexport) const TUint16 *Ptr() const;
__declspec(dllexport) TInt Compare(const TDesC16 &aDes) const;
__declspec(dllexport) TInt CompareF(const TDesC16 &aDes) const;
__declspec(dllexport) TInt CompareC(const TDesC16 &aDes) const;
__declspec(dllexport) TInt CompareC(const TDesC16& aDes,TInt aMaxLevel,const TCollationMethod* aCollationMethod) const;
__declspec(dllexport) HBufC16* GetNormalizedDecomposedFormL() const;
__declspec(dllexport) HBufC16* GetFoldedDecomposedFormL() const;
__declspec(dllexport) HBufC8* GetCollationKeysL(TInt aMaxLevel,const TCollationMethod* aCollationMethod) const;
__declspec(dllexport) TInt Match(const TDesC16 &aDes) const;
__declspec(dllexport) TInt MatchF(const TDesC16 &aDes) const;
__declspec(dllexport) TInt MatchC(const TDesC16 &aDes) const;
__declspec(dllexport) TInt MatchC(const TDesC16 &aPattern, TInt aWildChar, TInt aWildSequenceChar,
TInt aEscapeChar, TInt aMaxLevel = 3, const TCollationMethod* aCollationMethod = 0 ) const;
__declspec(dllexport) TInt Locate(TChar aChar) const;
__declspec(dllexport) TInt LocateReverse(TChar aChar) const;
__declspec(dllexport) TInt Find(const TDesC16 &aDes) const;
__declspec(dllexport) TInt Find(const TUint16 *aBuf,TInt aLen) const;
__declspec(dllexport) TPrefix HasPrefixC(const TDesC16& aPossiblePrefix, TInt aLevel, const TCollationMethod* aCollationMethod) const;
__declspec(dllexport) TPtrC16 Left(TInt aLength) const;
__declspec(dllexport) TPtrC16 Right(TInt aLength) const;
__declspec(dllexport) TPtrC16 Mid(TInt aPos) const;
__declspec(dllexport) TPtrC16 Mid(TInt aPos,TInt aLength) const;
__declspec(dllexport) TInt LocateF(TChar aChar) const;
__declspec(dllexport) TInt LocateReverseF(TChar aChar) const;
__declspec(dllexport) TInt FindF(const TDesC16 &aDes) const;
__declspec(dllexport) TInt FindF(const TUint16 *aBuf,TInt aLen) const;
__declspec(dllexport) TInt FindC(const TDesC16 &aDes) const;
__declspec(dllexport) TInt FindC(const TUint16 *aBuf,TInt aLen) const;
__declspec(dllexport) TInt FindC(const TUint16 *aText,TInt aLength, TInt aMaxLevel) const;
__declspec(dllexport) HBufC16 *Alloc() const;
__declspec(dllexport) HBufC16 *AllocL() const;
__declspec(dllexport) HBufC16 *AllocLC() const;
protected:
inline TDesC16() {}
inline TDesC16(TInt aType,TInt aLength);
inline TInt Type() const;
inline void DoSetLength(TInt aLength);
__declspec(dllexport) const TUint16 &AtC(TInt anIndex) const;
private:
TUint iLength;
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TPtrC16 : public TDesC16
#line 161
{
public:
__declspec(dllexport) TPtrC16();
__declspec(dllexport) TPtrC16(const TDesC16 &aDes);
__declspec(dllexport) TPtrC16(const TUint16 *aString);
__declspec(dllexport) TPtrC16(const TUint16 *aBuf,TInt aLength);
inline void Set(const TUint16 *aBuf,TInt aLength);
inline void Set(const TDesC16 &aDes);
inline void Set(const TPtrC16 &aPtr);
private:
TPtrC16& operator=(const TPtrC16 &aDes);
protected:
const TUint16 *iPtr;
private:
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TDes16Overflow
#line 192
{
public:
#line 203
virtual void Overflow(TDes16 &aDes)=0;
};
class TRealFormat;
class TDes16 : public TDesC16
#line 229
{
public:
inline TDes16& operator=(const TUint16 *aString);
inline TDes16& operator=(const TDesC16 &aDes);
inline TDes16& operator=(const TDes16 &aDes);
inline TInt MaxLength() const;
inline TInt MaxSize() const;
inline const TUint16 &operator[](TInt anIndex) const;
inline TUint16 &operator[](TInt anIndex);
inline TDes16 &operator+=(const TDesC16 &aDes);
__declspec(dllexport) void Zero();
__declspec(dllexport) void SetLength(TInt aLength);
__declspec(dllexport) void SetMax();
__declspec(dllexport) void Copy(const TDesC8 &aDes);
__declspec(dllexport) void Copy(const TDesC16 &aDes);
__declspec(dllexport) void Copy(const TUint16 *aBuf,TInt aLength);
__declspec(dllexport) void Copy(const TUint16 *aString);
__declspec(dllexport) void Append(TChar aChar);
__declspec(dllexport) void Append(const TDesC16 &aDes);
__declspec(dllexport) void Append(const TUint16 *aBuf,TInt aLength);
__declspec(dllexport) void Fill(TChar aChar);
__declspec(dllexport) void Fill(TChar aChar,TInt aLength);
__declspec(dllexport) void FillZ();
__declspec(dllexport) void FillZ(TInt aLength);
__declspec(dllexport) void NumFixedWidth(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) void AppendNumFixedWidth(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) TPtr16 LeftTPtr(TInt aLength) const;
__declspec(dllexport) TPtr16 RightTPtr(TInt aLength) const;
__declspec(dllexport) TPtr16 MidTPtr(TInt aPos) const;
__declspec(dllexport) TPtr16 MidTPtr(TInt aPos,TInt aLength) const;
__declspec(dllexport) const TUint16 *PtrZ();
__declspec(dllexport) void CopyF(const TDesC16 &aDes);
__declspec(dllexport) void CopyC(const TDesC16 &aDes);
__declspec(dllexport) void CopyLC(const TDesC16 &aDes);
__declspec(dllexport) void CopyUC(const TDesC16 &aDes);
__declspec(dllexport) void CopyCP(const TDesC16 &aDes);
__declspec(dllexport) void AppendFill(TChar aChar,TInt aLength);
__declspec(dllexport) void ZeroTerminate();
__declspec(dllexport) void Swap(TDes16 &aDes);
__declspec(dllexport) void Fold();
__declspec(dllexport) void Collate();
__declspec(dllexport) void LowerCase();
__declspec(dllexport) void UpperCase();
__declspec(dllexport) void Capitalize();
__declspec(dllexport) void Repeat(const TDesC16 &aDes);
__declspec(dllexport) void Repeat(const TUint16 *aBuf,TInt aLength);
__declspec(dllexport) void Trim();
__declspec(dllexport) void TrimAll();
__declspec(dllexport) void TrimLeft();
__declspec(dllexport) void TrimRight();
__declspec(dllexport) void Insert(TInt aPos,const TDesC16 &aDes);
__declspec(dllexport) void Delete(TInt aPos,TInt aLength);
__declspec(dllexport) void Replace(TInt aPos,TInt aLength,const TDesC16 &aDes);
__declspec(dllexport) void Justify(const TDesC16 &aDes,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void NumFixedWidthUC(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) void NumUC(TUint64 aVal, TRadix aRadix=EDecimal);
__declspec(dllexport) TInt Num(TReal aVal,const TRealFormat &aFormat) ;
__declspec(dllexport) void Num(TInt64 aVal);
__declspec(dllexport) void Num(TUint64 aVal, TRadix aRadix);
__declspec(dllexport) void Format(TRefByValue<const TDesC16> aFmt,...);
__declspec(dllexport) void FormatList(const TDesC16 &aFmt,VA_LIST aList);
__declspec(dllexport) void AppendJustify(const TDesC16 &Des,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TDesC16 &Des,TInt aLength,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TUint16 *aString,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TUint16 *aString,TInt aLength,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendNumFixedWidthUC(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) void AppendNumUC(TUint64 aVal, TRadix aRadix=EDecimal);
__declspec(dllexport) TInt AppendNum(TReal aVal,const TRealFormat &aFormat) ;
__declspec(dllexport) void AppendNum(TInt64 aVal);
__declspec(dllexport) void AppendNum(TUint64 aVal, TRadix aRadix);
__declspec(dllexport) void AppendFormat(TRefByValue<const TDesC16> aFmt,TDes16Overflow *aOverflowHandler,...);
__declspec(dllexport) void AppendFormat(TRefByValue<const TDesC16> aFmt,...);
__declspec(dllexport) void AppendFormatList(const TDesC16 &aFmt,VA_LIST aList,TDes16Overflow *aOverflowHandler=0 );
__declspec(dllexport) TPtr8 Collapse();
protected:
inline TDes16() {}
inline TDes16(TInt aType,TInt aLength,TInt aMaxLength);
inline TUint16 *WPtr() const;
void DoAppendNum(TUint64 aVal, TRadix aRadix, TUint aA, TInt aW);
void DoPadAppendNum(TInt aLength, TInt aW, const TUint8* aBuf);
protected:
TInt iMaxLength;
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TPtr16 : public TDes16
#line 341
{
public:
__declspec(dllexport) TPtr16(TUint16 *aBuf,TInt aMaxLength);
__declspec(dllexport) TPtr16(TUint16 *aBuf,TInt aLength,TInt aMaxLength);
inline TPtr16& operator=(const TUint16 *aString);
inline TPtr16& operator=(const TDesC16& aDes);
inline TPtr16& operator=(const TPtr16& aDes);
inline void Set(TUint16 *aBuf,TInt aLength,TInt aMaxLength);
inline void Set(const TPtr16 &aPtr);
private:
__declspec(dllexport) TPtr16(TBufCBase16 &aLcb,TInt aMaxLength);
protected:
TUint16 *iPtr;
private:
friend class TBufCBase16;
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TBufCBase16 : public TDesC16
{
protected:
__declspec(dllexport) TBufCBase16();
inline TBufCBase16(TInt aLength);
__declspec(dllexport) TBufCBase16(const TUint16 *aString,TInt aMaxLength);
__declspec(dllexport) TBufCBase16(const TDesC16 &aDes,TInt aMaxLength);
__declspec(dllexport) void Copy(const TUint16 *aString,TInt aMaxLength);
__declspec(dllexport) void Copy(const TDesC16 &aDes,TInt aMaxLength);
inline TPtr16 DoDes(TInt aMaxLength);
inline TUint16 *WPtr() const;
};
class RReadStream;
class HBufC16 : public TBufCBase16
#line 411
{
public:
__declspec(dllexport) static HBufC16 *New(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewL(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewLC(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewMax(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewMaxL(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewMaxLC(TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewL(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) static HBufC16 *NewLC(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) HBufC16& operator=(const TUint16 *aString);
__declspec(dllexport) HBufC16& operator=(const TDesC16 &aDes);
inline HBufC16& operator=(const HBufC16 &aLcb);
__declspec(dllexport) HBufC16 *ReAlloc(TInt aMaxLength);
__declspec(dllexport) HBufC16 *ReAllocL(TInt aMaxLength);
__declspec(dllexport) TPtr16 Des();
private:
inline HBufC16(TInt aLength);
private:
TText16 iBuf[1];
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 443
template <TInt S>
class TBufC16 : public TBufCBase16
#line 469
{
public:
inline TBufC16();
inline TBufC16(const TUint16 *aString);
inline TBufC16(const TDesC16 &aDes);
inline TBufC16<S> &operator=(const TUint16 *aString);
inline TBufC16<S> &operator=(const TDesC16 &aDes);
inline TPtr16 Des();
protected:
TUint16 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt16))-1)/(sizeof(TInt)/sizeof(TInt16)))*(sizeof(TInt)/sizeof(TInt16))) ];
};
class TBufBase16 : public TDes16
{
protected:
__declspec(dllexport) TBufBase16(TInt aMaxLength);
__declspec(dllexport) TBufBase16(TInt aLength,TInt aMaxLength);
__declspec(dllexport) TBufBase16(const TUint16* aString,TInt aMaxLength);
__declspec(dllexport) TBufBase16(const TDesC16& aDes,TInt aMaxLength);
};
template <TInt S>
class TBuf16 : public TBufBase16
#line 517
{
public:
inline TBuf16();
inline explicit TBuf16(TInt aLength);
inline TBuf16(const TUint16* aString);
inline TBuf16(const TDesC16& aDes);
inline TBuf16<S>& operator=(const TUint16* aString);
inline TBuf16<S>& operator=(const TDesC16& aDes);
inline TBuf16<S>& operator=(const TBuf16<S>& aDes);
protected:
TUint16 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt16))-1)/(sizeof(TInt)/sizeof(TInt16)))*(sizeof(TInt)/sizeof(TInt16))) ];
};
class RBuf16 : public TDes16
#line 570
{
public:
__declspec(dllexport) RBuf16();
__declspec(dllexport) explicit RBuf16(HBufC16* aHBuf);
inline RBuf16& operator=(const TUint16* aString);
inline RBuf16& operator=(const TDesC16& aDes);
inline RBuf16& operator=(const RBuf16& aDes);
__declspec(dllexport) void Assign(const RBuf16& aRBuf);
__declspec(dllexport) void Assign(TUint16 *aHeapCell,TInt aMaxLength);
__declspec(dllexport) void Assign(TUint16 *aHeapCell,TInt aLength,TInt aMaxLength);
__declspec(dllexport) void Assign(HBufC16* aHBuf);
__declspec(dllexport) void Swap(RBuf16& aRBuf);
__declspec(dllexport) TInt Create(TInt aMaxLength);
__declspec(dllexport) void CreateL(TInt aMaxLength);
__declspec(dllexport) TInt CreateMax(TInt aMaxLength);
__declspec(dllexport) void CreateMaxL(TInt aMaxLength);
inline void CreateL(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) TInt Create(const TDesC16& aDes);
__declspec(dllexport) void CreateL(const TDesC16& aDes);
__declspec(dllexport) TInt Create(const TDesC16& aDes,TInt aMaxLength);
__declspec(dllexport) void CreateL(const TDesC16& aDes,TInt aMaxLength);
__declspec(dllexport) TInt ReAlloc(TInt aMaxLength);
__declspec(dllexport) void ReAllocL(TInt aMaxLength);
__declspec(dllexport) void Close();
__declspec(dllexport) void CleanupClosePushL();
protected:
__declspec(dllexport) RBuf16(TInt aType,TInt aLength,TInt aMaxLength);
RBuf16(const RBuf16&);
union
{
TUint16* iEPtrType;
HBufC16* iEBufCPtrType;
};
public: __declspec(dllexport) void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 619
typedef TRefByValue<const TDesC16> __TRefDesC16;
template <TInt S>
class TLitC16
#line 641
{
public:
inline const TDesC16* operator&() const;
inline operator const TDesC16&() const;
inline const TDesC16& operator()() const;
inline operator const __TRefDesC16() const;
public:
#line 662
typedef TUint16 __TText;
public:
TUint iTypeLength;
__TText iBuf[((((S)+(sizeof(TInt)/sizeof(TInt16))-1)/(sizeof(TInt)/sizeof(TInt16)))*(sizeof(TInt)/sizeof(TInt16))) ];
};
#line 1108 "D:\\Symbian\\9.2\\S60_3rd_FP1\\epoc32\\include\\e32cmn.h" /* stack depth 6 */
#line 1131
typedef TDesC16 TDesC;
#line 1151
typedef TPtrC16 TPtrC;
#line 1171
typedef TDes16 TDes;
#line 1191
typedef TPtr16 TPtr;
#line 1212
typedef HBufC16 HBufC;
#line 1232
typedef TDes16Overflow TDesOverflow;
#line 1249
typedef RBuf16 RBuf;
#line 1394
typedef TBufCBase16 TBufCBase;
#line 1430
template <TInt S>
class TBufC : public TBufCBase16
{
public:
inline TBufC();
inline TBufC(const TText* aString);
inline TBufC(const TDesC& aDes);
inline TBufC<S>& operator=(const TText* aString);
inline TBufC<S>& operator=(const TDesC& aDes);
inline TPtr Des();
private:
TText iBuf[((((S)+(sizeof(TUint)/sizeof(TUint16))-1)/(sizeof(TUint)/sizeof(TUint16)))*(sizeof(TUint)/sizeof(TUint16))) ];
};
#line 1483
template <TInt S>
class TBuf : public TBufBase16
{
public:
inline TBuf();
inline explicit TBuf(TInt aLength);
inline TBuf(const TText* aString);
inline TBuf(const TDesC& aDes);
inline TBuf<S>& operator=(const TText* aString);
inline TBuf<S>& operator=(const TDesC& aDes);
inline TBuf<S>& operator=(const TBuf<S>& aBuf);
private:
TText iBuf[((((S)+(sizeof(TUint)/sizeof(TUint16))-1)/(sizeof(TUint)/sizeof(TUint16)))*(sizeof(TUint)/sizeof(TUint16))) ];
};
#line 1513
typedef TRefByValue<const TDesC> __TRefDesC;
#line 1531
template <TInt S>
class TLitC
{
public:
enum {BufferSize=S-1};
inline const TDesC* operator&() const;
inline operator const TDesC&() const;
inline const TDesC& operator()() const;
inline operator const __TRefDesC() const;
public:
#line 1568
typedef TUint16 __TText;
public:
TUint iTypeLength;
__TText iBuf[((((S)+(sizeof(TUint)/sizeof(TUint16))-1)/(sizeof(TUint)/sizeof(TUint16)))*(sizeof(TUint)/sizeof(TUint16))) ];
};
#line 1595
const static TLitC<sizeof(L"")/2> KNullDesC={sizeof(L"")/2-1,L""} ;
#line 1605
const static TLitC8<sizeof("")> KNullDesC8={sizeof("")-1,""} ;
#line 1616
const static TLitC16<sizeof(L"")/2> KNullDesC16={sizeof(L"")/2-1,L""} ;
#line 1633
template <class T>
class TPckgC : public TPtrC8
{
public:
inline TPckgC(const T& aRef);
inline const T& operator()() const;
private:
TPckgC<T>& operator=(const TPckgC<T>& aRef);
};
#line 1658
template <class T>
class TPckg : public TPtr8
{
public:
inline TPckg(const T& aRef);
inline T& operator()();
private:
TPckg<T>& operator=(const TPckg<T>& aRef);
};
#line 1685
template <class T>
class TPckgBuf : public TAlignedBuf8<sizeof(T)>
{
public:
inline TPckgBuf();
inline TPckgBuf(const T& aRef);
inline TPckgBuf& operator=(const TPckgBuf<T>& aRef);
inline T& operator=(const T& aRef);
inline T& operator()();
inline const T& operator()() const;
};
#line 1710
typedef TBuf<KMaxName> TName;
typedef TBuf<KMaxKernelName> TKName;
typedef TBuf<KMaxInfoName> TInfoName;
#line 1739
typedef TBuf<KMaxFullName> TFullName;
#line 1754
typedef TBuf<KMaxExitCategoryName> TExitCategoryName;
#line 1768
typedef TBuf<KMaxFileName> TFileName;
#line 1782
typedef TBuf<KMaxPath> TPath;
typedef TBuf<KMaxDeviceInfo> TDeviceInfo;
#line 1805
typedef TBuf<KMaxVersionName> TVersionName;
typedef TBuf<KMaxPassword> TPassword;
#line 1825
typedef TBuf<KMaxUidName> TUidName;
#line 1847
class TUid
{
public:
__declspec(dllexport) TBool operator==(const TUid& aUid) const;
__declspec(dllexport) TBool operator!=(const TUid& aUid) const;
__declspec(dllexport) TUidName Name() const;
static inline TUid Uid(TInt aUid);
static inline TUid Null();
public:
TInt32 iUid;
};
#line 1877
class TUidType
{
public:
__declspec(dllexport) TUidType();
__declspec(dllexport) TUidType(TUid aUid1);
__declspec(dllexport) TUidType(TUid aUid1,TUid aUid2);
__declspec(dllexport) TUidType(TUid aUid1,TUid aUid2,TUid aUid3);
__declspec(dllexport) TBool operator==(const TUidType& aUidType) const;
__declspec(dllexport) TBool operator!=(const TUidType& aUidType) const;
__declspec(dllexport) const TUid& operator[](TInt anIndex) const;
__declspec(dllexport) TUid MostDerived() const;
__declspec(dllexport) TBool IsPresent(TUid aUid) const;
__declspec(dllexport) TBo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -