|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef FAVOURITESRFSPLUGIN_H |
|
21 #define FAVOURITESRFSPLUGIN_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <rfsApMapper.h> |
|
26 #include "rfsPlugin.h" |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 class CFavouritesRFSPlugin: public CRFSPlugin, public MRfsApMapper |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Two-phased constructor. |
|
36 * @param aInitParams initial parameters |
|
37 */ |
|
38 static CFavouritesRFSPlugin* NewL(TAny* aInitParams); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 virtual ~CFavouritesRFSPlugin(); |
|
44 |
|
45 /** |
|
46 * |
|
47 * @param |
|
48 */ |
|
49 void RestoreFactorySettingsL( const TRfsReason aType ); |
|
50 |
|
51 /** |
|
52 * |
|
53 * @param |
|
54 */ |
|
55 void GetScriptL( const TRfsReason aType, TDes& aPath ); |
|
56 |
|
57 /** |
|
58 * |
|
59 * @param |
|
60 */ |
|
61 void ExecuteCustomCommandL( const TRfsReason aType, TDesC& aCommand ); |
|
62 |
|
63 public: // from MRfsApMapper |
|
64 |
|
65 TBool MapAccessPoint( TUint aOldUid, TUint& aNewUid ); |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * C++ default constructor. |
|
71 */ |
|
72 CFavouritesRFSPlugin(); |
|
73 |
|
74 /** |
|
75 * Constructor. |
|
76 * @param aInitParams initial parameters |
|
77 */ |
|
78 CFavouritesRFSPlugin(TAny* aInitParams); |
|
79 |
|
80 /** |
|
81 * Constructor |
|
82 */ |
|
83 void ConstructL(); |
|
84 }; |
|
85 |
|
86 |
|
87 |
|
88 #endif // FAVOURITESRFSPLUGIN_H |
|
89 |
|
90 // End of File |