1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
20 @publishedAll |
18 @publishedAll |
21 @released |
19 @released |
22 */ |
20 */ |
24 #ifndef CAMERAOVERLAY_H |
22 #ifndef CAMERAOVERLAY_H |
25 #define CAMERAOVERLAY_H |
23 #define CAMERAOVERLAY_H |
26 |
24 |
27 #include <ecam.h> |
25 #include <ecam.h> |
28 #include <ecam/ecamcommonuids.hrh> |
26 #include <ecam/ecamcommonuids.hrh> |
|
27 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
28 #include <ecam/cameraoverlayconst.h> |
|
29 #endif |
29 |
30 |
30 class MCameraOverlay; |
31 class MCameraOverlay; |
31 class MCameraOverlay2; |
32 class MCameraOverlay2; |
32 |
33 |
33 /** |
|
34 The current Version for the TOverlaySupportInfo class. |
|
35 @publishedPartner |
|
36 @prototype |
|
37 */ |
|
38 static const TUint KECamOverlaySupportInfoCurrentVersion = 1; |
|
39 |
|
40 /** |
|
41 The current Version for the TOverlayParameters class. |
|
42 @publishedPartner |
|
43 @prototype |
|
44 */ |
|
45 static const TUint KECamOverlayParametersCurrentVersion = 1; |
|
46 |
|
47 /** |
|
48 Constant used to specify that no specific viewfinder of the given type (either direct or client based) shall be considered. |
|
49 Rather, every viewfinder should be taken into consideration. |
|
50 @publishedPartner |
|
51 @prototype |
|
52 */ |
|
53 static const TInt KECamOverlayNoSpecificViewFinderHandle = -1; |
|
54 |
|
55 /** |
|
56 Special handle value used for TOverlaySupportInfo::iViewFinderHandle when TOverlaySupportInfo::iDesiredCameraMode is other |
|
57 than viewfinder mode but not EModeNone. |
|
58 If TOverlaySupportInfo::iDesiredCameraMode is EModeNone, this indicates that OverlaySupportInfo should be used |
|
59 as default, where support information was being provided to the client without distinguishing between different camera modes. |
|
60 Also used as default value for TOverlayParameters::iViewFinderHandle, when TOverlayParameters::iCurrentModes is not |
|
61 neglected. |
|
62 @publishedPartner |
|
63 @prototype |
|
64 */ |
|
65 static const TInt KECamOverlayInvalidViewFinderHandle = -2; |
|
66 |
34 |
67 /** |
35 /** |
68 This is the UID which is used to obtain the CCameraOverlay interface, |
36 This is the UID which is used to obtain the CCameraOverlay interface, |
69 via a call to CCamera::CustomInterface(). |
37 via a call to CCamera::CustomInterface(). |
70 |
38 |