qthighway/xqservice/src/xqaiwdecl.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 8 71781823f776
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    43  URI viewing interface and related operations
    43  URI viewing interface and related operations
    44 */
    44 */
    45 #define XQI_URI_VIEW QLatin1String("com.nokia.symbian.IUriView")
    45 #define XQI_URI_VIEW QLatin1String("com.nokia.symbian.IUriView")
    46 #define XQOP_URI_VIEW QLatin1String("view(QString)")
    46 #define XQOP_URI_VIEW QLatin1String("view(QString)")
    47 
    47 
       
    48 /*!
       
    49  Image fetching interface and related operations
       
    50 */
       
    51 #define XQI_IMAGE_FETCH QLatin1String("com.nokia.symbian.IImageFetch")
       
    52 #define XQOP_IMAGE_FETCH QLatin1String("fetch(void)")
       
    53 
       
    54 /*!
       
    55  Music fetching interface and related operations
       
    56 */
       
    57 #define XQI_MUSIC_FETCH QLatin1String("com.nokia.symbian.IMusicFetch")
       
    58 #define XQOP_MUSIC_FETCH QLatin1String("fetch(void)")
       
    59 
       
    60 /*!
       
    61  Video fetching interface and related operations
       
    62 */
       
    63 #define XQI_VIDEO_FETCH QLatin1String("com.nokia.symbian.IVideoFetch")
       
    64 #define XQOP_VIDEO_FETCH QLatin1String("fetch(void)")
       
    65 
       
    66 /*!
       
    67  Camera capture interface and related operations
       
    68  Operation: capture(int mode, const QVariantMap &parameters)
       
    69   mode: image = 0, video = 1
       
    70   parameters: 
       
    71    CameraIndex: int:  primary = 0, secondary = 1
       
    72    Quality: int: 0 = default, 1 = lowest, 2 = highest
       
    73    AllowModeSwitch: bool
       
    74    AllowCamera_switch: bool
       
    75    allow_quality_change: bool
       
    76 */
       
    77 #define XQI_CAMERA_CAPTURE QLatin1String("com.nokia.symbian.ICameraCapture")
       
    78 #define XQOP_CAMERA_CAPTURE QLatin1String("capture(int, const QVariantMap &)")
       
    79 #define XQCAMERA_INDEX QLatin1String("CameraIndex")
       
    80 #define XQCAMERA_QUALITY QLatin1String("Quality")
       
    81 #define XQCAMERA_MODE_SWITCH QLatin1String("AllowModeSwitch")
       
    82 #define XQCAMERA_INDEX_SWITCH QLatin1String("AllowCameraSwitch")
       
    83 #define XQCAMERA_QUALITY_CHANGE QLatin1String("AllowQualityChange")
    48 
    84 
    49 // Public URI related constants
    85 // Public URI related constants
    50 /*!
    86 /*!
    51  The scheme of the activity URI
    87  The scheme of the activity URI
    52 */
    88 */
    87 /*!
   123 /*!
    88  Service XML custom property, that contains schemes the XQI_URI_VIEW can handle
   124  Service XML custom property, that contains schemes the XQI_URI_VIEW can handle
    89 */
   125 */
    90 #define XQCUSTOM_PROP_SCHEMES QLatin1String("schemes")
   126 #define XQCUSTOM_PROP_SCHEMES QLatin1String("schemes")
    91 
   127 
       
   128 /*!
       
   129  Service XML custom property, which contains the name of text key that
       
   130  contains the service status
       
   131  \see XQApplicationMgr::isEnabled()
       
   132 */
       
   133 #define XQCUSTOM_PROP_AIW_SERVICE_STATUS QLatin1String("aiw_status")
       
   134 
    92 #endif
   135 #endif