equal
deleted
inserted
replaced
21 #include "lcsession.h" |
21 #include "lcsession.h" |
22 #include "mccdatasender.h" |
22 #include "mccdatasender.h" |
23 #include "mccdatareceiver.h" |
23 #include "mccdatareceiver.h" |
24 #include "musenglogger.h" |
24 #include "musenglogger.h" |
25 #include "mccdatastructures.h" |
25 #include "mccdatastructures.h" |
26 |
26 #include <settingsinternalcrkeys.h> |
|
27 #include <centralrepository.h> |
27 |
28 |
28 // ----------------------------------------------------------------------------- |
29 // ----------------------------------------------------------------------------- |
29 // |
30 // |
30 // ----------------------------------------------------------------------------- |
31 // ----------------------------------------------------------------------------- |
31 // |
32 // |
92 // |
93 // |
93 // ----------------------------------------------------------------------------- |
94 // ----------------------------------------------------------------------------- |
94 // |
95 // |
95 TBool CMusEngSessionManager::IsFeatureSupported( TLcFeature aLcFeature ) |
96 TBool CMusEngSessionManager::IsFeatureSupported( TLcFeature aLcFeature ) |
96 { |
97 { |
97 return ( aLcFeature == ELcSendVideoQuery ); |
98 TBool ret = EFalse; |
|
99 if ( ELcSendVideoQuery == aLcFeature ) |
|
100 { |
|
101 TInt videoSendingSetting; |
|
102 CRepository* repository = CRepository::NewL( KCRUidTelephonySettings ); |
|
103 if ( KErrNone == repository->Get(KSettingsVTVideoSending, videoSendingSetting) ) |
|
104 { |
|
105 if ( VTSETTING_ALWAYS_ASK_FIRST == videoSendingSetting ) |
|
106 ret = ETrue; |
|
107 } |
|
108 delete repository; |
|
109 } |
|
110 return ret; |
98 } |
111 } |
99 |
112 |
100 |
|
101 |
|
102 |
|
103 // End of File |
113 // End of File |