equal
deleted
inserted
replaced
40 */ |
40 */ |
41 NONSHARABLE_CLASS( CSmileyManager ) : public CBase |
41 NONSHARABLE_CLASS( CSmileyManager ) : public CBase |
42 { |
42 { |
43 public: |
43 public: |
44 static const TText KPlaceHolder = 0xfff0; |
44 static const TText KPlaceHolder = 0xfff0; |
45 static const TInt KMaxLength = 100; |
45 static const TInt KMaxLength = 5; |
46 static const TInt KMinLength = 2; |
46 static const TInt KMinLength = 2; |
47 static const TText KZeroCode = 0; |
47 static const TText KZeroCode = 0; |
48 static const TText KCompensateChar = 'i'; |
48 static const TText KCompensateChar = 'i'; |
49 static const TUint KSmileyCodeMin = 0xf880; |
49 static const TUint KSmileyCodeMin = 0xf880; |
50 static const TUint KSmileyCodeMax = 0xf8e4; |
50 static const TUint KSmileyCodeMax = 0xf8e4; |
64 virtual ~CSmileyManager(); |
64 virtual ~CSmileyManager(); |
65 |
65 |
66 //new functions |
66 //new functions |
67 TBool ConvertTextForSmileyL( TInt aStart, TDes& aText, |
67 TBool ConvertTextForSmileyL( TInt aStart, TDes& aText, |
68 TBool aStringToCodes = ETrue ); |
68 TBool aStringToCodes = ETrue ); |
|
69 void SetVisibleRange( TInt aDocPos, TInt aLength ); |
69 |
70 |
70 void DrawIconL( CBitmapContext& aGc, const TRect& aRect, |
71 void DrawIconL( CBitmapContext& aGc, const TRect& aRect, |
71 TInt aDocPos ); |
72 TInt aDocPos ); |
72 |
73 |
73 void HandleDeleteL( TInt aStart, TInt aLength ); |
74 void HandleDeleteL( TInt aStart, TInt aLength ); |