29 #if defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN) |
29 #if defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN) |
30 |
30 |
31 #include <e32base.h> |
31 #include <e32base.h> |
32 #include <badesca.h> |
32 #include <badesca.h> |
33 |
33 |
34 NONSHARABLE_CLASS(HbTextResolverSymbian) |
34 class HbTextResolverSymbian |
35 { |
35 { |
36 public: |
36 public: |
37 IMPORT_C static TBool Init(const TDesC& aFilename, const TDesC& aPath); |
37 IMPORT_C static TBool Init(const TDesC& aFilename, const TDesC& aPath); |
38 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, TInt aPlural = -1); |
38 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, TInt aPlural = -1); |
39 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const TDesC& aString, TInt aPlural = -1); |
39 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const TDesC& aString, TInt aPlural = -1); |
40 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const MDesCArray& aStrings, TInt aPlural = -1); |
40 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const MDesCArray& aStrings, TInt aPlural = -1); |
41 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, TInt aInt, TInt aPlural); |
41 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, TInt aInt, TInt aPlural); |
42 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const RArray<TInt>& aInts, TInt aPlural = -1); |
42 IMPORT_C static HBufC* LoadL(const TDesC& aMessageId, const RArray<TInt>& aInts, TInt aPlural = -1); |
43 |
43 |
44 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, TInt aPlural = -1); |
44 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, TInt aPlural = -1); |
45 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const TDesC& aString, TInt aPlural = -1); |
45 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const TDesC& aString, TInt aPlural = -1); |
46 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const MDesCArray& aStrings, TInt aPlural = -1); |
46 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const MDesCArray& aStrings, TInt aPlural = -1); |
47 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, TInt aInt, TInt aPlural); |
47 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, TInt aInt, TInt aPlural); |
48 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const RArray<TInt>& aInts, TInt aPlural = -1); |
48 IMPORT_C static HBufC* LoadLC(const TDesC& aMessageId, const RArray<TInt>& aInts, TInt aPlural = -1); |
|
49 IMPORT_C static void Release(); |
49 }; |
50 }; |
50 |
51 |
51 |
52 |
52 #endif // defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN) |
53 #endif // defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN) |
53 #endif // HBTEXTRESOLVERSYMBIAN_H |
54 #endif // HBTEXTRESOLVERSYMBIAN_H |