//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//
//

[Define]
KErrNotFound -1
KErrGeneral -2
KErrNotSupported -5
KErrAlreadyExists -11
KErrNotReady -18
KErrAccessDenied -21

KErrEventPending -2000
KErrCallbackErrorCode -2001
KErrUnexpectedValue -2002
KErrNotificationPending -2005
KErrUnexpectedNotification -2006
KErrTimeoutController -2007


XA_RESULT_SUCCESS                   0
XA_RESULT_PRECONDITIONS_VIOLATED    1
XA_RESULT_PARAMETER_INVALID         2
XA_RESULT_MEMORY_FAILURE            3
XA_RESULT_RESOURCE_ERROR            4
XA_RESULT_RESOURCE_LOST             5
XA_RESULT_IO_ERROR                  6
XA_RESULT_BUFFER_INSUFFICIENT       7
XA_RESULT_CONTENT_CORRUPTED         8
XA_RESULT_CONTENT_UNSUPPORTED       9
XA_RESULT_CONTENT_NOT_FOUND         10
XA_RESULT_PERMISSION_DENIED         11
XA_RESULT_FEATURE_UNSUPPORTED       12
XA_RESULT_INTERNAL_ERROR            13
XA_RESULT_UNKNOWN_ERROR             14
XA_RESULT_OPERATION_ABORTED         15
XA_RESULT_CONTROL_LOST              16

MO_ENGINE                           1
MO_PLAYER                           4
MO_RECORDER                         5
MO_RADIO			    6											6

XA_BOOLEAN_FALSE                    0
XA_BOOLEAN_TRUE                     1

// IID numbers for interfaces
XA_IID_NULL                         1
XA_IID_OBJECT                       2
XA_IID_CONFIGEXTENSION              3
XA_IID_DYNAMICINTERFACEMANAGEMENT   4
XA_IID_ENGINE                       5
XA_IID_THREADSYNC                   6
XA_IID_PLAY                         7
XA_IID_PLAYBACKRATE                 8
XA_IID_PREFETCHSTATUS               9
XA_IID_SEEK                         10
XA_IID_VOLUME                       11
XA_IID_IMAGECONTROLS                12
XA_IID_IMAGEEFFECTS                 13
XA_IID_VIDEOPOSTPROCESSING          14
XA_IID_RECORD                       15
XA_IID_SNAPSHOT                     16
XA_IID_METADATAEXTRACTION           17
XA_IID_METADATAINSERTION            18
XA_IID_METADATATRAVERSAL            19
XA_IID_DYNAMICSOURCE                20
XA_IID_CAMERACAPABILITIES           21
XA_IID_CAMERA                       22
XA_IID_AUDIOIODEVICECAPABILITIES    23
XA_IID_DEVICEVOLUME                 24
XA_IID_EQUALIZER                    25
XA_IID_OUTPUTMIX                    26
XA_IID_RADIO                        27
XA_IID_RDS                          28
XA_IID_VIBRA                        29
XA_IID_LED                          30
XA_IID_AUDIODECODERCAPABILITIES     31
XA_IID_AUDIOENCODER                 32
XA_IID_AUDIOENCODERCAPABILITIES     33
XA_IID_IMAGEENCODERCAPABILITIES     34
XA_IID_IMAGEDECODERCAPABILITIES     35
XA_IID_IMAGEENCODER                 36
XA_IID_VIDEODECODERCAPABILITIES     37
XA_IID_VIDEOENCODER                 38
XA_IID_VIDEOENCODERCAPABILITIES     39
XA_IID_STREAMINFORMATION            40
XA_IID_NOKIAVOLUMEEXT               41
XA_IID_NOKIALINEARVOLUME            42

XA_OBJECT_STATE_UNREALIZED          1
XA_OBJECT_STATE_REALIZED            2
XA_OBJECT_STATE_SUSPENDED           3

XA_PLAYSTATE_STOPPED                1
XA_PLAYSTATE_PAUSED                 2
XA_PLAYSTATE_PLAYING                3
XA_IODEVICE_RADIO		    5

WinPtX                              0
WinPtY                              300
WinTopLeft                          0
WinTopRight                         0
WinBotLeft                          320
WinBotRight                         240
[Enddefine]

//Constants for Data Source
//------------------------------------------------
//          DataSourceType:
//                  Audio [0]
//                  Video [1]
//                  Image [2]
//          DataLocatorType:
//                  URI     [0]
//                  Address [1]
//          DataFormatType:
//                  MIME     [0]
//                  PCM      [1]
//                  RAMIMAGE [2]
//          ContainerType:
//                 CONTAINERTYPE_UNSPECIFIED    [0]
//                 CONTAINERTYPE_RAW            [1]
//                 CONTAINERTYPE_ASF            [2]
//                 CONTAINERTYPE_AVI            [3]
//                 CONTAINERTYPE_BMP            [4]
//                 CONTAINERTYPE_JPG            [5]
//                 CONTAINERTYPE_JPG2000        [6]
//                 CONTAINERTYPE_M4A            [7]
//                 CONTAINERTYPE_MP3            [8]
//                 CONTAINERTYPE_MP4            [9]
//                 CONTAINERTYPE_MPEG_ES        [10]
//                 CONTAINERTYPE_MPEG_PS        [11]
//                 CONTAINERTYPE_MPEG_TS        [12]
//                 CONTAINERTYPE_QT             [13]
//                 CONTAINERTYPE_WAV            [14]
//                 CONTAINERTYPE_XMF_0          [15]
//                 CONTAINERTYPE_XMF_1          [16]
//                 CONTAINERTYPE_XMF_2          [17]
//                 CONTAINERTYPE_XMF_3          [18]
//                 CONTAINERTYPE_XMF_GENERIC    [19]
//                 CONTAINERTYPE_AMR            [20]
//                 CONTAINERTYPE_AAC            [21]
//                 CONTAINERTYPE_3GPP           [22]
//                 CONTAINERTYPE_3GA            [23]
//                 CONTAINERTYPE_RM             [24]
//                 CONTAINERTYPE_DMF            [25]        
//                 CONTAINERTYPE_SMF            [26]    
//                 CONTAINERTYPE_MOBILE_DLS     [27]
//
//          MimeTypes:
//                  Audio: 
//                      wav         [0]
//                      ogg         [1]
//                      sp-midi     [2]                            
//                      mobile-xmf  [3]
//                      Amr-Wb      [4]
//                      3gpp2       [5]
//                      mp4         [6]
//                  Video:
//                      Avi         [7]
//                      ogg         [8]?
//                  Image:
//                      jpg         [9]
//                      raw-image   [10]                                        
//-------------------------------------------------

// IID numbers for interfaces to mention during object creation
//   XA_IID_NULL                        1
//   XA_IID_OBJECT                      2
//   XA_IID_CONFIGEXTENSION             3
//   XA_IID_DYNAMICINTERFACEMANAGEMENT  4
//   XA_IID_ENGINE                      5
//   XA_IID_THREADSYNC                  6
//   XA_IID_PLAY                        7
//   XA_IID_PLAYBACKRATE                8
//   XA_IID_PREFETCHSTATUS              9
//   XA_IID_SEEK                        10
//   XA_IID_VOLUME                      11
//   XA_IID_IMAGECONTROLS               12
//   XA_IID_IMAGEEFFECTS                13
//   XA_IID_VIDEOPOSTPROCESSING         14
//   XA_IID_RECORD                      15
//   XA_IID_SNAPSHOT                    16
//   XA_IID_METADATAEXTRACTION          17
//   XA_IID_METADATAINSERTION           18
//   XA_IID_METADATATRAVERSAL           19
//   XA_IID_DYNAMICSOURCE               20
//   XA_IID_CAMERACAPABILITIES          21
//   XA_IID_CAMERA                      22
//   XA_IID_AUDIOIODEVICECAPABILITIES   23
//   XA_IID_DEVICEVOLUME                24
//   XA_IID_EQUALIZER                   25
//   XA_IID_OUTPUTMIX                   26
//   XA_IID_RADIO                       27
//   XA_IID_RDS                         28
//   XA_IID_VIBRA                       29
//   XA_IID_LED                         30
//   XA_IID_AUDIODECODERCAPABILITIES    31
//   XA_IID_AUDIOENCODER                32
//   XA_IID_AUDIOENCODERCAPABILITIES    33
//   XA_IID_IMAGEENCODERCAPABILITIES    34
//   XA_IID_IMAGEDECODERCAPABILITIES    35
//   XA_IID_IMAGEENCODER                36
//   XA_IID_VIDEODECODERCAPABILITIES    37
//   XA_IID_VIDEOENCODER                38
//   XA_IID_VIDEOENCODERCAPABILITIES    39
//   XA_IID_STREAMINFORMATION           40

