|
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 the License "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: Interface for filedetails plugin.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 #ifndef FILEDETAILSPLUGINIF_H |
|
20 #define FILEDETAILSPLUGINIF_H |
|
21 |
|
22 #include <e32std.h> |
|
23 #include <e32base.h> |
|
24 #include <e32def.h> |
|
25 |
|
26 #include "filedetailspluginif.hrh" |
|
27 |
|
28 class CMPXMedia; |
|
29 |
|
30 /** |
|
31 * ECom plugin interface definition. |
|
32 */ |
|
33 class CFileDetailsPluginIF : public CBase |
|
34 { |
|
35 public: |
|
36 /** |
|
37 * Construction method. |
|
38 * @return Created object. |
|
39 */ |
|
40 static CFileDetailsPluginIF* NewL( ); |
|
41 |
|
42 /** |
|
43 * Destructor |
|
44 */ |
|
45 virtual ~CFileDetailsPluginIF(); |
|
46 |
|
47 /** |
|
48 * Shows file details based on given mpx media |
|
49 * @param aDetails Already constructed details to be shown |
|
50 * @return None |
|
51 */ |
|
52 virtual void ShowFileDetails( const CMPXMedia& aMedia ) = 0; |
|
53 |
|
54 protected: |
|
55 /** |
|
56 * Instance identifier key. When instance of an |
|
57 * implementation is created by ECOM framework, the |
|
58 * framework will assign UID for it. The UID is used in |
|
59 * destructor to notify framework that this instance is |
|
60 * being destroyed and resources can be released. |
|
61 */ |
|
62 TUid iDtorIDKey; |
|
63 |
|
64 }; |
|
65 |
|
66 |
|
67 |
|
68 #include <ecom/ecom.h> |
|
69 #include "filedetailspluginif.inl" |
|
70 |
|
71 #endif //FILEDETAILSPLUGINIF_H |