|
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: |
|
15 * Decls used by CxuiPostCaptureView |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef XQAIWDECL_H |
|
20 #define XQAIWDECL_H |
|
21 |
|
22 #include <QLatin1String> |
|
23 |
|
24 /*! |
|
25 Video player interface and related operations |
|
26 */ |
|
27 #define XQI_VIDEO_PLAY QLatin1String("com.nokia.symbian.IVideoView") |
|
28 #define XQOP_VIDEO_PLAY QLatin1String("playMedia(QString)") |
|
29 #define XQOP_VIDEO_PLAY_PD QLatin1String("playMedia(QString, int)") |
|
30 #define XQOP_VIDEO_CLOSE QLatin1String("closePlayer()") |
|
31 |
|
32 /*! |
|
33 Camera capture interface and related operations |
|
34 Operation: capture(int mode, QVariantMap parameters) |
|
35 mode: image = 0, video = 1 |
|
36 parameters: |
|
37 CameraIndex: int: primary = 0, secondary = 1 |
|
38 Quality: int: 0 = default, 1 = lowest, 2 = highest |
|
39 AllowModeSwitch: bool |
|
40 AllowCamera_switch: bool |
|
41 allow_quality_change: bool |
|
42 */ |
|
43 #define XQI_CAMERA_CAPTURE QLatin1String("com.nokia.symbian.ICameraCapture") |
|
44 #define XQOP_CAMERA_CAPTURE QLatin1String("capture(int,QVariantMap)") |
|
45 #define XQCAMERA_INDEX QLatin1String("CameraIndex") |
|
46 #define XQCAMERA_QUALITY QLatin1String("Quality") |
|
47 #define XQCAMERA_MODE_SWITCH QLatin1String("AllowModeSwitch") |
|
48 #define XQCAMERA_INDEX_SWITCH QLatin1String("AllowCameraSwitch") |
|
49 #define XQCAMERA_QUALITY_CHANGE QLatin1String("AllowQualityChange") |
|
50 |
|
51 |
|
52 #endif |