kernel/eka/include/e32cmn.h
changeset 90 947f0dc9f7a8
parent 33 0173bcd7697c
child 109 b3a1d9898418
equal deleted inserted replaced
52:2d65c2f76d7b 90:947f0dc9f7a8
  1100 	IMPORT_C TBool IsMirrored() const;
  1100 	IMPORT_C TBool IsMirrored() const;
  1101 	IMPORT_C TInt GetNumericValue() const;
  1101 	IMPORT_C TInt GetNumericValue() const;
  1102 	IMPORT_C TCjkWidth GetCjkWidth() const;
  1102 	IMPORT_C TCjkWidth GetCjkWidth() const;
  1103 	IMPORT_C static TBool Compose(TUint& aResult,const TDesC16& aSource);
  1103 	IMPORT_C static TBool Compose(TUint& aResult,const TDesC16& aSource);
  1104 	IMPORT_C TBool Decompose(TPtrC16& aResult) const;
  1104 	IMPORT_C TBool Decompose(TPtrC16& aResult) const;
       
  1105 	
       
  1106 	// surrogate specific ones
       
  1107 	inline static TBool IsSupplementary(TUint aChar);
       
  1108 	inline static TBool IsSurrogate(TText16 aInt16);
       
  1109 	inline static TBool IsHighSurrogate(TText16 aInt16);
       
  1110 	inline static TBool IsLowSurrogate(TText16 aInt16);
       
  1111 	inline static TUint JoinSurrogate(TText16 aHighSurrogate, TText16 aLowSurrogate);
       
  1112 	inline static TText16 GetHighSurrogate(TUint aChar);
       
  1113 	inline static TText16 GetLowSurrogate(TUint aChar);
  1105 
  1114 
  1106 protected:
  1115 protected:
  1107 	inline void SetChar(TUint aChar);
  1116 	inline void SetChar(TUint aChar);
  1108 #endif
  1117 #endif
  1109 private:
  1118 private:
  3875 @param i2 The second TUint8
  3884 @param i2 The second TUint8
  3876 @param i3 The third TUint8
  3885 @param i3 The third TUint8
  3877 @param i4 The fourth TUint8
  3886 @param i4 The fourth TUint8
  3878 @internalComponent
  3887 @internalComponent
  3879 */
  3888 */
  3880 #define FOUR_TUINT8(i1,i2,i3,i4) \
  3889 #define FOUR_TUINT8(i1,i2,i3,i4)		  \
  3881 	(TUint32)(				\
  3890 	(									  \
  3882 		(TUint8)i1 		 | 	\
  3891 		(TUint32)((i1) & 0xFF)			| \
  3883 		(TUint8)i2 << 8  | 	\
  3892 		(TUint32)((i2) & 0xFF) << 8		| \
  3884 		(TUint8)i3 << 16 | 	\
  3893 		(TUint32)((i3) & 0xFF) << 16	| \
  3885 		(TUint8)i4 << 24	\
  3894 		(TUint32)((i4) & 0xFF) << 24	  \
  3886 	)
  3895 	)
  3887 
  3896 
  3888 
  3897 
  3889 /** Macro for compile-time initialisation of a security policy object that
  3898 /** Macro for compile-time initialisation of a security policy object that
  3890 always fails.  That is, checks against this policy will always fail,
  3899 always fails.  That is, checks against this policy will always fail,