59 ~CMusAvaSettingsImp(); |
59 ~CMusAvaSettingsImp(); |
60 |
60 |
61 |
61 |
62 public: // from MMusAvaSettings |
62 public: // from MMusAvaSettings |
63 |
63 |
64 /** |
64 /** |
65 * Returns the fast mode value. |
65 * Returns the manual activation |
|
66 * |
|
67 */ |
|
68 virtual TManualActivation ManualActivation(); |
|
69 |
|
70 /** |
|
71 * Returns the telephone number of remote host of active CS call. |
|
72 * |
|
73 * @return The telephone number. |
|
74 */ |
|
75 virtual const TDesC& TelNumber() const; |
|
76 |
|
77 /** |
|
78 * Returns the contact name of remote host of active CS call. |
|
79 * |
|
80 * @return The telephone number. |
|
81 */ |
|
82 virtual const TDesC& ContactName() const; |
|
83 |
|
84 /** |
|
85 * Returns a guess for the SIP address of the remote host |
|
86 * |
|
87 * @return The proposal for SIP address |
|
88 */ |
|
89 virtual const TDesC& SipAddressProposal() const; |
|
90 |
|
91 /** |
|
92 * Returns the possible SIP addresses of the remote host. |
|
93 * |
|
94 * @return The SIP addresses in an array. |
|
95 */ |
|
96 virtual const MDesCArray& SipAddresses() const; |
|
97 |
|
98 /** |
|
99 * Returns the contact id of the remote host. |
|
100 * |
|
101 * @return The contact id; KErrNotFound, if not found any. |
|
102 */ |
|
103 virtual TInt ContactId() const; |
|
104 |
|
105 /** |
|
106 * Returns the supported video codecs. |
|
107 * |
|
108 * @return The video codecs |
|
109 */ |
|
110 virtual const MDesCArray& VideoCodecs() const; |
|
111 |
|
112 /** |
|
113 * Returns the supported audio codecs. |
|
114 * |
|
115 * @return The supported audio codecs. |
|
116 */ |
|
117 virtual const MDesCArray& AudioCodecs() const; |
|
118 |
|
119 /** |
|
120 * Returns the id of the preferable SIP profile. |
|
121 * |
|
122 * @return The SIP profile id. |
|
123 */ |
|
124 virtual TInt SipProfileId() const; |
|
125 |
|
126 /** |
|
127 * Sets the settings observer pointer |
|
128 * |
|
129 * @param aObserver Pointer to observer intercase |
|
130 */ |
|
131 virtual void SetObserver( MMusAvaSettingsObserver& aObserver ); |
|
132 |
|
133 /** |
|
134 * Sets the for the manual activation |
|
135 * |
|
136 */ |
|
137 virtual void SetManualActivation( TManualActivation aManualActivation ); |
|
138 |
|
139 |
|
140 /** |
|
141 * Returns the direction of the mobile call. |
|
142 * |
|
143 * @return 0, if the direction of the call is unknown. |
|
144 * 1, call is from public number. |
|
145 * 2, call is from private number |
66 */ |
146 */ |
67 |
147 virtual TInt CallPrivacy(); |
68 virtual MusSettingsKeys::TFastMode FastMode() const; |
|
69 |
|
70 /** |
|
71 * Returns the manual activation |
|
72 * |
|
73 */ |
|
74 virtual TManualActivation ManualActivation(); |
|
75 |
|
76 /** |
|
77 * Returns the telephone number of remote host of active CS call. |
|
78 * |
|
79 * @return The telephone number. |
|
80 */ |
|
81 virtual const TDesC& TelNumber() const; |
|
82 |
|
83 /** |
|
84 * Returns the contact name of remote host of active CS call. |
|
85 * |
|
86 * @return The telephone number. |
|
87 */ |
|
88 virtual const TDesC& ContactName() const; |
|
89 |
|
90 /** |
|
91 * Returns a guess for the SIP address of the remote host |
|
92 * |
|
93 * @return The proposal for SIP address |
|
94 */ |
|
95 virtual const TDesC& SipAddressProposal() const; |
|
96 |
|
97 /** |
|
98 * Returns the possible SIP addresses of the remote host. |
|
99 * |
|
100 * @return The SIP addresses in an array. |
|
101 */ |
|
102 virtual const MDesCArray& SipAddresses() const; |
|
103 |
|
104 /** |
|
105 * Returns the contact id of the remote host. |
|
106 * |
|
107 * @return The contact id; KErrNotFound, if not found any. |
|
108 */ |
|
109 virtual TInt ContactId() const; |
|
110 |
|
111 /** |
|
112 * Returns the supported video codecs. |
|
113 * |
|
114 * @return The video codecs |
|
115 */ |
|
116 virtual const MDesCArray& VideoCodecs() const; |
|
117 |
|
118 /** |
|
119 * Returns the supported audio codecs. |
|
120 * |
|
121 * @return The supported audio codecs. |
|
122 */ |
|
123 virtual const MDesCArray& AudioCodecs() const; |
|
124 |
|
125 /** |
|
126 * Returns the id of the preferable SIP profile. |
|
127 * |
|
128 * @return The SIP profile id. |
|
129 */ |
|
130 virtual TInt SipProfileId() const; |
|
131 |
|
132 /** |
|
133 * Sets the settings observer pointer |
|
134 * |
|
135 * @param aObserver Pointer to observer intercase |
|
136 */ |
|
137 virtual void SetObserver( MMusAvaSettingsObserver& aObserver ); |
|
138 |
|
139 /* |
|
140 * Gets the settings observer pointer |
|
141 * |
|
142 */ |
|
143 virtual MMusAvaSettingsObserver* Observer(); |
|
144 |
|
145 /** |
|
146 * Sets the for the manual activation |
|
147 * |
|
148 */ |
|
149 virtual void SetManualActivation( TManualActivation aManualActivation ); |
|
150 |
148 |
151 |
149 |
152 public: |
150 public: |
153 |
151 |
154 /** |
152 /** |
242 * Sets the id of the preferable SIP profile. |
240 * Sets the id of the preferable SIP profile. |
243 * |
241 * |
244 * @param aProfileId the SIP profile id. |
242 * @param aProfileId the SIP profile id. |
245 */ |
243 */ |
246 void SetSipProfileId( TInt aProfileId ); |
244 void SetSipProfileId( TInt aProfileId ); |
|
245 |
|
246 |
|
247 /** |
|
248 * Sets the call privacy e.g. current call number is from private number, |
|
249 * should be shown on MT. |
|
250 * |
|
251 * @param aPrivacy the SIP profile id. |
|
252 */ |
|
253 void SetCallPrivacy( TInt aPrivacy ); |
247 |
254 |
248 /** |
255 /** |
249 * Returns the id of the preferable SIP profile. |
256 * Returns the id of the preferable SIP profile. |
250 * |
257 * |
251 * @return The SIP profile id. |
258 * @return The SIP profile id. |
252 */ |
259 */ |
253 CMusAvaSip& Sip(); |
260 CMusAvaSip& Sip(); |
254 |
261 |
255 /** |
262 void SetOptionSentNumber( const TDesC& aTelNumber ); |
256 * Sets the fast mode value |
263 |
257 */ |
264 const TDesC& OptionSentTelNumber() const; |
258 void SetFastMode( MusSettingsKeys::TFastMode aMode ); |
265 |
259 |
266 void ReleaseOptionSentNumber(); |
260 /** |
267 |
261 * Sets contact resolving uri |
268 |
262 */ |
269 |
263 void SetUriForContactResolvingL( const TDesC& aRemoteUri ); |
|
264 |
|
265 /** |
|
266 * Gets contact resolving uri |
|
267 */ |
|
268 TPtrC ContactResolvingUri(); |
|
269 |
270 |
270 private: |
271 private: |
271 |
272 |
272 void CopyDescArrayL( CDesCArray& aTarget, |
273 void CopyDescArrayL( CDesCArray& aTarget, |
273 const MDesCArray& aSource ); |
274 const MDesCArray& aSource ); |