equal
deleted
inserted
replaced
29 public MDesCArray |
29 public MDesCArray |
30 { |
30 { |
31 public: // Constructors and destructor |
31 public: // Constructors and destructor |
32 /** |
32 /** |
33 * Creates a new instance of this class. |
33 * Creates a new instance of this class. |
34 * @param aText the text to separate |
34 * @param aText the text to separate |
35 */ |
35 */ |
36 IMPORT_C static CWords* NewLC(const TDesC& aText); |
36 IMPORT_C static CWords* NewLC(const TDesC& aText); |
37 /** |
37 /** |
38 * Destructor. |
38 * Destructor. |
39 */ |
39 */ |
40 IMPORT_C ~CWords(); |
40 IMPORT_C ~CWords(); |
41 |
41 |
42 public: // from MDesCArray |
42 public: // from MDesCArray |
43 IMPORT_C TInt MdcaCount() const; |
43 IMPORT_C TInt MdcaCount() const; |
44 IMPORT_C TPtrC16 MdcaPoint(TInt aIndex) const; |
44 IMPORT_C TPtrC16 MdcaPoint(TInt aIndex) const; |
47 CWords(); |
47 CWords(); |
48 void ConstructL(const TDesC& aText); |
48 void ConstructL(const TDesC& aText); |
49 static TBool DefaultIsWordSeparator(TChar aChar); |
49 static TBool DefaultIsWordSeparator(TChar aChar); |
50 |
50 |
51 private: |
51 private: |
52 |
52 |
53 /// Own: array of words |
53 /// Own: array of words |
54 RArray<TPtrC> iWords; |
54 RArray<TPtrC> iWords; |
55 }; |
55 }; |
56 |
56 |
57 #endif // C_WORDS_H |
57 #endif // C_WORDS_H |
58 |
58 |