equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2007 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: This Class is interface for resoluion class |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MGMRESOLUTION_H_ |
|
19 #define MGMRESOLUTION_H_ |
|
20 #include<e32cmn.h> |
|
21 |
|
22 |
|
23 /** |
|
24 * MResolution class This class is an interface class from which image and video resolution classes are derived |
|
25 * |
|
26 * @since Series60 v3.2 |
|
27 */ |
|
28 class MResolution |
|
29 { |
|
30 public: |
|
31 /** |
|
32 * Method to gert resolution of media file |
|
33 * @param aSize Returns the size of media file |
|
34 *@ return TBool If it gets the resolution then ETrue or else EFalse |
|
35 */ |
|
36 |
|
37 virtual TBool GetresolutionL(TSize& aSize) = 0 ; |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Destructor |
|
42 */ |
|
43 |
|
44 virtual ~MResolution(); |
|
45 }; |
|
46 |
|
47 |
|
48 /** |
|
49 * MediaResolutionFactory class This is a factory class |
|
50 * |
|
51 * @since Series60 v3.2 |
|
52 */ |
|
53 |
|
54 class MediaResolutionFactory |
|
55 { |
|
56 public: |
|
57 static MResolution* CreateMediaResolutionobjL(TDesC& aMedia, TDesC& aUrl); |
|
58 }; |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 #endif /* MGMRESOLUTION_H_ */ |