|
1 /* |
|
2 * Copyright (c) 2010 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: MDS to CPIX Video Document fetcher |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPIXMEDIAVIDEODOC_H_ |
|
20 #define CPIXMEDIAVIDEODOC_H_ |
|
21 |
|
22 #include "cpixdocfetcher.h" |
|
23 |
|
24 class CCPIXMediaVideoDoc : public CCPIXDocFetcher |
|
25 { |
|
26 public: |
|
27 /* |
|
28 * NewL |
|
29 * @return instance of media Image doc |
|
30 */ |
|
31 static CCPIXMediaVideoDoc* NewL(); |
|
32 /* |
|
33 * NewLC |
|
34 * @return instance of media Image doc |
|
35 */ |
|
36 static CCPIXMediaVideoDoc* NewLC(); |
|
37 /* |
|
38 * Destructor |
|
39 */ |
|
40 ~CCPIXMediaVideoDoc(); |
|
41 //Overwride |
|
42 /* |
|
43 * GetCpixDocumentL get cpix document from mde object |
|
44 * @param CMdEObject& aObject mde object |
|
45 * @param TDesC& aAppClass app class |
|
46 * @param CMdEObjectDef& aObjectDef mde object def |
|
47 * @return instance of CPIX document |
|
48 */ |
|
49 CSearchDocument* GetCpixDocumentL(const CMdEObject& aObject, |
|
50 const TDesC& aAppClass, |
|
51 CMdEObjectDef& aObjectDef); |
|
52 private: |
|
53 /* |
|
54 * Second phase constructor |
|
55 */ |
|
56 void ConstructL(); |
|
57 /* |
|
58 * Default constructor |
|
59 */ |
|
60 CCPIXMediaVideoDoc(); |
|
61 }; |
|
62 |
|
63 #endif /* CPIXMEDIAVIDEODOC_H_ */ |