|
1 /* |
|
2 * Copyright (c) 2009 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: Rename objects |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CABSTRACTMEDIAMTPDATAPROVIDERRENAMEOBJECT_H |
|
20 #define CABSTRACTMEDIAMTPDATAPROVIDERRENAMEOBJECT_H |
|
21 |
|
22 #include "crenameobject.h" |
|
23 |
|
24 class CAbstractMediaMtpDataProviderRenameObject: public CRenameObject |
|
25 { |
|
26 public: |
|
27 /** |
|
28 * Two phase constructor |
|
29 * @param aFramework Reference to MMTPDataProviderFramework |
|
30 * @param aWrapper Reference to CMmMtpDpMetadataAccessWrapper |
|
31 * @param aDummyArray Reference to abstract media dummy files array |
|
32 * @return A pointer to a new instance of the object |
|
33 */ |
|
34 static CAbstractMediaMtpDataProviderRenameObject* NewL( MMTPDataProviderFramework& aFramework, |
|
35 CMmMtpDpMetadataAccessWrapper& aWrapper ); |
|
36 |
|
37 /** |
|
38 * destructor |
|
39 */ |
|
40 ~CAbstractMediaMtpDataProviderRenameObject(); |
|
41 |
|
42 protected: |
|
43 // from CRenameObject |
|
44 void PerformAdditionalActionL(); |
|
45 |
|
46 private: |
|
47 /** |
|
48 * Standard C++ Constructor |
|
49 * @param aFramework Reference to MMTPDataProviderFramework |
|
50 * @param aWrapper Reference to CMmMtpDpMetadataAccessWrapper |
|
51 * @param aDummyArray Reference to abstract media dummy files array |
|
52 */ |
|
53 CAbstractMediaMtpDataProviderRenameObject( MMTPDataProviderFramework& aFramework, |
|
54 CMmMtpDpMetadataAccessWrapper& aWrapper ); |
|
55 |
|
56 void ConstructL(); |
|
57 |
|
58 }; |
|
59 |
|
60 #endif // CABSTRACTMEDIAMTPDATAPROVIDERRENAMEOBJECT_H |