|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
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 |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Camera specific errors |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @publishedAll |
|
22 @released |
|
23 @file |
|
24 */ |
|
25 |
|
26 #ifndef ECAMERRORS_H |
|
27 #define ECAMERRORS_H |
|
28 |
|
29 /** The camera has been disabled, hence calls do not succeed */ |
|
30 static const TInt KErrECamCameraDisabled = -12100; |
|
31 |
|
32 /** This parameter or operation is supported, but presently is disabled. */ |
|
33 static const TInt KErrECamSettingDisabled = -12101; |
|
34 |
|
35 /** This value is out of range. */ |
|
36 static const TInt KErrECamParameterNotInRange = -12102; |
|
37 |
|
38 /** |
|
39 @deprecated Use sysytem wide error code KErrNotSupported, since there is no clear cut difference between the two |
|
40 */ |
|
41 static const TInt KErrECamSettingNotSupported = -12103; |
|
42 |
|
43 /** The optimum focus is lost */ |
|
44 static const TInt KErrECamNotOptimalFocus = -12104; |
|
45 |
|
46 /** The flash is not charged */ |
|
47 static const TInt KErrECamFlashNotCharged = -12105; |
|
48 |
|
49 /** |
|
50 This error code is supposed to be used with new event KUidECamEventCIPSetColorSwapEntry |
|
51 and KUidECamEventCIPRemoveColorSwapEntry. |
|
52 This would occur when the particular color is being targetted by 2 color entries for |
|
53 conversion to different colors. |
|
54 |
|
55 */ |
|
56 static const TInt KErrECamColorOperationConflict = -12106; |
|
57 |
|
58 /** |
|
59 This error code is supposed to be used with new event KUidECamEvent2CameraRequestForcedTimedTakeOver |
|
60 and KUidECamEvent2CameraRequestTimedTakeOver. |
|
61 This would mean that another such reserve request is outstanding and has higher priority than this client. |
|
62 |
|
63 @internalTechnology |
|
64 */ |
|
65 static const TInt KErrECamHighPriorityReserveRequesterExists = -12107; |
|
66 |
|
67 /** |
|
68 This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover. |
|
69 |
|
70 @publishedPartner |
|
71 @prototype |
|
72 */ |
|
73 static const TInt KErrECamFatalError = -12108; |
|
74 |
|
75 /** |
|
76 If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again, |
|
77 client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with |
|
78 it as well. |
|
79 |
|
80 @publishedPartner |
|
81 @prototype |
|
82 */ |
|
83 static const TInt KErrECamImageResourceNotReleased = -12109; |
|
84 |
|
85 /** |
|
86 If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again, |
|
87 client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram |
|
88 objects associated with it as well. |
|
89 |
|
90 @publishedPartner |
|
91 @prototype |
|
92 */ |
|
93 static const TInt KErrECamVideoResourceNotReleased = -12110; |
|
94 |
|
95 #endif // ECAMERRORS_H |