homescreensrv_plat/sapi_homescreenplugin/hspsservice/inc/hspspersonalisationservice.h
equal
deleted
inserted
replaced
42 * @since S60 5.0 |
42 * @since S60 5.0 |
43 */ |
43 */ |
44 class CHspsPersonalisationService : public CBase, public MhspsThemeManagementServiceObserver |
44 class CHspsPersonalisationService : public CBase, public MhspsThemeManagementServiceObserver |
45 { |
45 { |
46 public: // Constructor and destructor |
46 public: // Constructor and destructor |
47 |
47 |
|
48 enum TRestore |
|
49 { |
|
50 EDefault, |
|
51 ERom, |
|
52 EViews |
|
53 }; |
|
54 |
48 /** |
55 /** |
49 * Two-phased constructor. |
56 * Two-phased constructor. |
50 * |
57 * |
51 * @since S60 5.0 |
58 * @since S60 5.0 |
52 */ |
59 */ |
241 const TInt aAppUid, |
248 const TInt aAppUid, |
242 const TDesC8& aPluginId, |
249 const TDesC8& aPluginId, |
243 const TDesC8& aConfUid ); |
250 const TDesC8& aConfUid ); |
244 |
251 |
245 /** |
252 /** |
246 * Restores plugin configurations by either removing all plugins |
253 * Restores plugin configurations according to the input. |
247 * from the active view or by removing all extra views. |
|
248 * In latter case, the first locked view is emptied. If there are |
|
249 * no locked views then the first view will remain while others |
|
250 * are removed. |
|
251 * @since S60 5.2 |
254 * @since S60 5.2 |
252 * @param aAppUid Application uid |
255 * @param aAppUid Application uid |
253 * @param aResetAllViews False if only the active view should be fixed, |
256 * @param aOperation Operation to be executed |
254 * True if also all extra views should removed |
|
255 */ |
257 */ |
256 IMPORT_C void RestoreConfigurationsL( |
258 IMPORT_C void RestoreConfigurationsL( |
257 const TInt aAppUid, |
259 const TInt aAppUid, |
258 const TBool aResetAllViews ); |
260 const TRestore aOperation ); |
259 |
261 |
260 private: // Methods |
262 private: // Methods |
261 |
263 |
262 private: // Data |
264 private: // Data |
263 |
265 |