27 #include "CWPWAPBrowserAdapter.h" |
27 #include "CWPWAPBrowserAdapter.h" |
28 #include "MWPWAPItemBase.h" |
28 #include "MWPWAPItemBase.h" |
29 #include "WPWAPItemFactory.h" |
29 #include "WPWAPItemFactory.h" |
30 #include "WPWAPUtil.h" |
30 #include "WPWAPUtil.h" |
31 #include "WPWAPDebug.h" |
31 #include "WPWAPDebug.h" |
32 |
32 #include <hbtextresolversymbian.h> |
33 // CONSTANTS |
33 // CONSTANTS |
34 _LIT( KBrowserAppID, "w2" ); |
34 _LIT( KBrowserAppID, "w2" ); |
|
35 _LIT( KBrowserResourceFileName, "deviceupdates_" ); |
|
36 _LIT( KBrowserResourceFilePath, "z:/resource/qt/translations/" ); |
35 |
37 |
36 // ============================ MEMBER FUNCTIONS =============================== |
38 // ============================ MEMBER FUNCTIONS =============================== |
37 |
39 |
38 // ----------------------------------------------------------------------------- |
40 // ----------------------------------------------------------------------------- |
39 // CWPWAPBrowserAdapter::CWPWAPBrowserAdapter |
41 // CWPWAPBrowserAdapter::CWPWAPBrowserAdapter |
52 // |
54 // |
53 void CWPWAPBrowserAdapter::ConstructL() |
55 void CWPWAPBrowserAdapter::ConstructL() |
54 { |
56 { |
55 BaseConstructL(); |
57 BaseConstructL(); |
56 |
58 |
57 iTitle = WPWAPUtil::ReadHBufCL( R_QTN_OP_HEAD_BROWSER ); |
59 TBool result = HbTextResolverSymbian::Init(KBrowserResourceFileName, KBrowserResourceFilePath ); |
58 iBookmarkTitle = WPWAPUtil::ReadHBufCL( R_QTN_SM_BOOKMARKS ); |
60 |
59 iDefaultName = WPWAPUtil::ReadHBufCL( R_QTN_SM_WAPAP_NAME ); |
61 _LIT(KBrowserAdapter, "txt_device_update_dblist_browser_settings"); |
60 iDefaultBookmarkName = WPWAPUtil::ReadHBufCL( R_QTN_SM_BOOKMARK_NAME ); |
62 iTitle = HbTextResolverSymbian::LoadL(KBrowserAdapter); |
61 } |
63 |
|
64 _LIT(KBookmarkTitle, "txt_device_update_dblist_bookmark"); |
|
65 iBookmarkTitle = HbTextResolverSymbian::LoadL(KBookmarkTitle); |
|
66 |
|
67 _LIT(KDefaultName, "txt_device_update_dblist_wap_access_point"); |
|
68 iDefaultName = HbTextResolverSymbian::LoadL(KDefaultName); |
|
69 |
|
70 _LIT(KDefaultBookmarkName, "txt_device_update_dblist_wap_access_point"); |
|
71 iDefaultBookmarkName = HbTextResolverSymbian::LoadL(KDefaultBookmarkName); |
|
72 |
|
73 } |
62 |
74 |
63 // ----------------------------------------------------------------------------- |
75 // ----------------------------------------------------------------------------- |
64 // CWPWAPBrowserAdapter::NewL |
76 // CWPWAPBrowserAdapter::NewL |
65 // Two-phased constructor. |
77 // Two-phased constructor. |
66 // ----------------------------------------------------------------------------- |
78 // ----------------------------------------------------------------------------- |