equal
deleted
inserted
replaced
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <f32file.h> |
20 #include <f32file.h> |
21 #include <CWPCharacteristic.h> |
21 #include <CWPCharacteristic.h> |
22 #include <CWPParameter.h> |
22 #include <CWPParameter.h> |
23 #include <wpstreamingadapterresource.rsg> |
|
24 #include <mpsettingsmodel.h> |
23 #include <mpsettingsmodel.h> |
25 #include <cmconnectionmethoddef.h> |
24 #include <cmconnectionmethoddef.h> |
26 #include <cmmanagerext.h> |
25 #include <cmmanagerext.h> |
27 #include "WPAdapterUtil.h" |
26 #include "WPAdapterUtil.h" |
28 #include "StreamingAdapter.h" |
27 #include "StreamingAdapter.h" |
29 #include "ProvisioningDebug.h" |
28 #include "ProvisioningDebug.h" |
|
29 #include <hbtextresolversymbian.h> |
|
30 _LIT( KStreamingResourceFileName, "deviceupdates_" ); |
|
31 _LIT( KStreamingResourceFilePath, "z:/resource/qt/translations/" ); |
30 |
32 |
31 // CONSTANTS |
33 // CONSTANTS |
32 #if ( defined (__WINS__) || defined (__WINSCW) ) // this different on hw |
34 #if ( defined (__WINS__) || defined (__WINSCW) ) // this different on hw |
33 _LIT( KAdapterName, "WPStreamingAdapterResource" ); |
35 _LIT( KAdapterName, "WPStreamingAdapterResource" ); |
34 #else |
36 #else |
82 // ----------------------------------------------------------------------------- |
84 // ----------------------------------------------------------------------------- |
83 // |
85 // |
84 void CStreamingAdapter::ConstructL() |
86 void CStreamingAdapter::ConstructL() |
85 { |
87 { |
86 FLOG( _L( "[Provisioning] CStreamingAdapter::ConstructL:" ) ); |
88 FLOG( _L( "[Provisioning] CStreamingAdapter::ConstructL:" ) ); |
87 |
89 TBool result = HbTextResolverSymbian::Init(KStreamingResourceFileName, KStreamingResourceFilePath ); |
88 TFileName fileName; |
90 _LIT(KStreamingAdapter, "txt_device_update_dblist_streaming_settings"); |
89 Dll::FileName( fileName ); |
91 iTitle = HbTextResolverSymbian::LoadL(KStreamingAdapter); |
90 iTitle = WPAdapterUtil::ReadHBufCL( fileName, |
|
91 KAdapterName, |
|
92 R_STREAMING_ADAPTER_TITLE ); |
|
93 |
|
94 FLOG( _L( "[Provisioning] CStreamingAdapter::ConstructL: Done" ) ); |
92 FLOG( _L( "[Provisioning] CStreamingAdapter::ConstructL: Done" ) ); |
95 } |
93 } |
96 |
94 |
97 // ----------------------------------------------------------------------------- |
95 // ----------------------------------------------------------------------------- |
98 // CStreamingAdapter::NewL |
96 // CStreamingAdapter::NewL |