kernel/eka/include/e32des16.h
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
equal deleted inserted replaced
43:c1f20ce4abcf 44:3e88ff8f41d5
   130 	IMPORT_C TInt FindC(const TUint16 *aText,TInt aLength, TInt aMaxLevel) const;
   130 	IMPORT_C TInt FindC(const TUint16 *aText,TInt aLength, TInt aMaxLevel) const;
   131 	IMPORT_C TInt FindC(const TDesC16 &aDes,TInt &aLengthFound, const TCollationMethod &aMethod,TInt aMaxLevel) const;
   131 	IMPORT_C TInt FindC(const TDesC16 &aDes,TInt &aLengthFound, const TCollationMethod &aMethod,TInt aMaxLevel) const;
   132 	IMPORT_C HBufC16 *Alloc() const;
   132 	IMPORT_C HBufC16 *Alloc() const;
   133 	IMPORT_C HBufC16 *AllocL() const;
   133 	IMPORT_C HBufC16 *AllocL() const;
   134 	IMPORT_C HBufC16 *AllocLC() const;
   134 	IMPORT_C HBufC16 *AllocLC() const;
   135 
       
   136 	// surrogate-aware ones
       
   137 	IMPORT_C TInt FindCorruptSurrogate() const;
       
   138 	IMPORT_C TInt Locate2(TChar aChar) const;
       
   139 	IMPORT_C TInt LocateF2(TChar aChar) const;
       
   140 	IMPORT_C TInt LocateReverse2(TChar aChar) const;
       
   141 	IMPORT_C TInt LocateReverseF2(TChar aChar) const;
       
   142 	IMPORT_C TInt Match2(const TDesC16 &aDes) const;
       
   143 
       
   144 protected:
   135 protected:
   145 	inline TDesC16() {}
   136 	inline TDesC16() {}
   146 	inline TDesC16(TInt aType,TInt aLength);
   137 	inline TDesC16(TInt aType,TInt aLength);
   147 // delay this for a while
   138 // delay this for a while
   148 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   139 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   342 	IMPORT_C void AppendNum(TUint64 aVal, TRadix aRadix);
   333 	IMPORT_C void AppendNum(TUint64 aVal, TRadix aRadix);
   343 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,TDes16Overflow *aOverflowHandler,...);
   334 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,TDes16Overflow *aOverflowHandler,...);
   344 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,...);
   335 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,...);
   345 	IMPORT_C void AppendFormatList(const TDesC16 &aFmt,VA_LIST aList,TDes16Overflow *aOverflowHandler=NULL);
   336 	IMPORT_C void AppendFormatList(const TDesC16 &aFmt,VA_LIST aList,TDes16Overflow *aOverflowHandler=NULL);
   346 	IMPORT_C TPtr8 Collapse();
   337 	IMPORT_C TPtr8 Collapse();
   347 	
       
   348 	// surrogate-aware ones
       
   349 	IMPORT_C void Append2(TChar aChar);
       
   350 	IMPORT_C void Fill2(TChar aChar);
       
   351 	IMPORT_C void Fill2(TChar aChar, TInt aLength);
       
   352 	IMPORT_C void AppendFill2(TChar aChar, TInt aLength);
       
   353 	IMPORT_C void Justify2(const TDesC16 &aDes, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   354 	IMPORT_C void AppendJustify2(const TDesC16 &aDes, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   355 	IMPORT_C void AppendJustify2(const TDesC16 &aDes, TInt aLength, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   356 	IMPORT_C void AppendJustify2(const TUint16 *aString, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   357 	IMPORT_C void AppendJustify2(const TUint16 *aString, TInt aLength, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   358 	IMPORT_C void Fold2();
       
   359 	IMPORT_C void Collate2();
       
   360 	IMPORT_C void LowerCase2();
       
   361 	IMPORT_C void UpperCase2();
       
   362 	IMPORT_C void Capitalize2();
       
   363 	IMPORT_C void CopyF2(const TDesC16 &aDes);
       
   364 	IMPORT_C void CopyC2(const TDesC16 &aDes);
       
   365 	IMPORT_C void CopyLC2(const TDesC16 &aDes);
       
   366 	IMPORT_C void CopyUC2(const TDesC16 &aDes);
       
   367 	IMPORT_C void CopyCP2(const TDesC16 &aDes);
       
   368 	
       
   369 protected:
   338 protected:
   370 	inline TDes16() {}
   339 	inline TDes16() {}
   371 	inline TDes16(TInt aType,TInt aLength,TInt aMaxLength);
   340 	inline TDes16(TInt aType,TInt aLength,TInt aMaxLength);
   372 // delay this for a while
   341 // delay this for a while
   373 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   342 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS