22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <e32property.h> |
24 #include <e32property.h> |
25 #include <f32file.h> // RFs |
25 #include <f32file.h> // RFs |
26 #include <Profile.hrh> // TProfileRingingVolume |
26 #include <Profile.hrh> // TProfileRingingVolume |
27 #include <MProfileEngineExtended2.h> // MProfileEngineExtended2 |
27 #include <MProfileEngineExtended.h> // MProfileEngineExtended |
28 #include <MProfileExtended.h> // MProfileExtended |
28 #include <MProfileExtended.h> // MProfileExtended |
29 |
29 |
30 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
31 class CProfileNameImpl; |
31 class CProfileNameImpl; |
32 class CProfileImpl; |
32 class CProfileImpl; |
184 * From MProfileEngine. |
184 * From MProfileEngine. |
185 */ |
185 */ |
186 TBool IsActiveProfileTimedL(); |
186 TBool IsActiveProfileTimedL(); |
187 |
187 |
188 /** |
188 /** |
189 * From MProfileEngineExtended2. |
189 * From MProfileEngineExtended. |
190 */ |
190 */ |
191 void SetActiveProfileTimedL( TInt aId, TTime aTime ); |
191 void SetActiveProfileTimedL( TInt aId, TTime aTime ); |
192 |
|
193 |
|
194 /** |
|
195 * From MProfileEngineExtended2. |
|
196 */ |
|
197 virtual MProfileExtended2* Profile2LC( TInt aId ); |
|
198 |
|
199 /** |
|
200 * From MProfileEngineExtended2. |
|
201 */ |
|
202 virtual MProfileExtended2* Profile2L( TInt aId ); |
|
203 |
|
204 /** |
|
205 * From MProfileEngineExtended2. |
|
206 */ |
|
207 virtual void CommitChange2L( MProfileExtended2& aProfile ); |
|
208 |
|
209 |
|
210 /** |
|
211 * From MProfileEngineExtended2. |
|
212 */ |
|
213 virtual TInt MasterVolumeL() const; |
|
214 |
|
215 /** |
|
216 * From MProfileEngineExtended2. |
|
217 */ |
|
218 virtual void SetMasterVolumeL( TInt aMasterVolume ); |
|
219 |
|
220 /** |
|
221 * From MProfileEngineExtended2. |
|
222 */ |
|
223 virtual TBool MasterVibraL() const; |
|
224 |
|
225 /** |
|
226 * From MProfileEngineExtended2. |
|
227 */ |
|
228 virtual void SetMasterVibraL( TBool aMasterVibra ); |
|
229 |
|
230 /** |
|
231 * From MProfileEngineExtended2. |
|
232 */ |
|
233 virtual TBool SilenceModeL() const; |
|
234 |
|
235 /** |
|
236 * From MProfileEngineExtended2. |
|
237 */ |
|
238 virtual void SetSilenceModeL( TBool aSilenceMode ); |
|
239 |
192 |
240 protected: // New functions |
193 protected: // New functions |
241 |
194 |
242 /** |
195 /** |
243 * Reads the resource with the given id from Profiles Engine resource |
196 * Reads the resource with the given id from Profiles Engine resource |
274 * @since 2.8 |
227 * @since 2.8 |
275 * @param aProfile Profile |
228 * @param aProfile Profile |
276 * @param aSetId sets the id of the active profile to Central Repository |
229 * @param aSetId sets the id of the active profile to Central Repository |
277 * only if this is ETrue |
230 * only if this is ETrue |
278 */ |
231 */ |
279 void UpdateActiveProfileSettingsL( MProfileExtended2& aProfile, |
232 void UpdateActiveProfileSettingsL( MProfile& aProfile, |
280 TBool aSetId = EFalse ); |
233 TBool aSetId = EFalse ); |
281 |
234 |
282 /** |
235 /** |
283 * Updates the alert for groups shared data value. |
236 * Updates the alert for groups shared data value. |
284 * @since 2.6 |
237 * @since 2.6 |