cavtransport.h

Go to the documentation of this file.
00001 /* 
00002  * CyberLinkC AV API
00003  *
00004  * cavtransport.h
00005  *
00006  * Copyright 2005 Nokia Corporation
00007  */
00008 
00009 #ifndef CG_UPNP_AV_CAVTRANSPORT_H
00010 #define CG_UPNP_AV_CAVTRANSPORT_H
00011 
00012 /*****************************************************************************
00013  * AV Transport Service
00014  *****************************************************************************/
00015 #define CG_UPNP_AVT_SERVICE_TYPE "urn:schemas-upnp-org:service:AVTransport"
00016 
00017 /*****************************************************************************
00018  * Mandatory actions
00019  *****************************************************************************/
00020 #define CG_UPNP_AVT_ACTION_SET_AVTRANSPORTURI "SetAVTransportURI"
00021 #define CG_UPNP_AVT_ACTION_GET_MEDIAINFO "GetMediaInfo"
00022 #define CG_UPNP_AVT_ACTION_GET_TRANSPORTINFO "GetTransportInfo"
00023 #define CG_UPNP_AVT_ACTION_GET_POSITIONINFO "GetPositionInfo"
00024 #define CG_UPNP_AVT_ACTION_GET_DEVICECAPABILITIES "GetDeviceCapabilities"
00025 #define CG_UPNP_AVT_ACTION_GET_TRANSPORTSETTINGS "GetTransportSettings"
00026 
00027 #define CG_UPNP_AVT_ACTION_STOP "Stop"
00028 #define CG_UPNP_AVT_ACTION_PLAY "Play"
00029 #define CG_UPNP_AVT_ACTION_SEEK "Seek"
00030 #define CG_UPNP_AVT_ACTION_NEXT "Next"
00031 #define CG_UPNP_AVT_ACTION_PREVIOUS "Previous"
00032 
00033 /*****************************************************************************
00034  * Optional actions
00035  *****************************************************************************/
00036 #define CG_UPNP_AVT_ACTION_SET_NEXTAVTRANSPORTURI "SetNextAVTransportURI"
00037 
00038 #define CG_UPNP_AVT_ACTION_PAUSE "Pause"
00039 #define CG_UPNP_AVT_ACTION_RECORD "Record"
00040 #define CG_UPNP_AVT_ACTION_SET_PLAYMODE "SetPlayMode"
00041 #define CG_UPNP_AVT_ACTION_SET_RECORDQUALITYMODE "SetRecordQualityMode"
00042 #define CG_UPNP_AVT_ACTION_GET_CURRENTTRANSPORTACTIONS "GetCurrentTransportActions"
00043 
00044 /*****************************************************************************
00045  * Transport States
00046  *****************************************************************************/
00047 #define CG_UPNP_AVT_TRANSPORT_STATE_PLAYING "PLAYING"
00048 #define CG_UPNP_AVT_TRANSPORT_STATE_STOPPED "STOPPED"
00049 #define CG_UPNP_AVT_TRANSPORT_STATE_TRANSITIONING "TRANSITIONING"
00050 #define CG_UPNP_AVT_TRANSPORT_STATE_PAUSED_PLAYBACK "PAUSED_PLAYBACK"
00051 #define CG_UPNP_AVT_TRANSPORT_STATE_PAUSED_RECORDING "PAUSED_RECORDING"
00052 #define CG_UPNP_AVT_TRANSPORT_STATE_RECORDING "RECORDING"
00053 #define CG_UPNP_AVT_TRANSPORT_STATE_NO_MEDIA_PRESENT "NO_MEDIA_PRESENT"
00054 
00055 /*****************************************************************************
00056  * Play Modes
00057  *****************************************************************************/
00058 #define CG_UPNP_AVT_PLAY_MODE_NORMAL "NORMAL"
00059 #define CG_UPNP_AVT_PLAY_MODE_SHUFFLE "SHUFFLE"
00060 #define CG_UPNP_AVT_PLAY_MODE_REPEAT_ONE "REPEAT_ONE"
00061 #define CG_UPNP_AVT_PLAY_MODE_REPEAT_ALL "REPEAT_ALL"
00062 #define CG_UPNP_AVT_PLAY_MODE_RANDOM "RANDOM"
00063 #define CG_UPNP_AVT_PLAY_MODE_DIRECT_1 "DIRECT_1"
00064 #define CG_UPNP_AVT_PLAY_MODE_INTRO "INTRO"
00065 
00066 /*****************************************************************************
00067  * Record Medium Write Status
00068  *****************************************************************************/
00069 #define CG_UPNP_AVT_WRITE_STATUS_WRITABLE "WRITABLE"
00070 #define CG_UPNP_AVT_WRITE_STATUS_PROTECTED "PROTECTED"
00071 #define CG_UPNP_AVT_WRITE_STATUS_NOT_WRITABLE "NOT_WRITABLE"
00072 #define CG_UPNP_AVT_WRITE_STATUS_UNKNOWN "UNKNOWN"
00073 #define CG_UPNP_AVT_WRITE_STATUS_NOT_IMPLEMENTED "NOT_IMPLEMENTED"
00074 
00075 /*****************************************************************************
00076  * Playback Medium
00077  *****************************************************************************/
00078 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_UNKNOWN "UNKNOWN"
00079 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DV "DV"
00080 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_MINIDV "MINI-DV"
00081 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_VHS "VHS"
00082 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_WVHS "W-VHS"
00083 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_SVHS "S-VHS"
00084 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVHS "D-VHS"
00085 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_VHSC "VHSC"
00086 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_VIDEO8 "VIDEO8"
00087 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_HI8 "HI8"
00088 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_CDROM "CD-ROM"
00089 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_CDDA "CD-DA"
00090 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_CDR "CD-R"
00091 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_CDRW "CD-RW"
00092 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_VIDEOCD "VIDEO-CD"
00093 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_SACD "SA-CD"
00094 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_MDAUDIO "MD-AUDIO"
00095 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_MDPICTURE "MD-PICTURE"
00096 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDROM "DVD-ROM"
00097 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDVIDEO "DVD-VIDEO"
00098 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDR "DVD-R"
00099 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDPLUSRW "DVD+RW"
00100 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDRW "DVD-RW"
00101 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDRAM "DVD-RAM"
00102 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DVDAUDIO "DVD-AUDIO"
00103 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_DAT "DAT"
00104 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_LD "LD"
00105 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_HDD "HDD"
00106 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_MICROMV "MICRO-MV"
00107 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_NETWORK "NETWORK"
00108 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_NONE "NONE"
00109 #define CG_UPNP_AVT_PLAYBACK_MEDIUM_NOT_IMPLEMENTED "NOT_IMPLEMENTED"
00110 
00111 /*****************************************************************************
00112  * Record Quality Modes
00113  *****************************************************************************/
00114 #define CG_UPNP_AVT_RECORD_QUALITY_EP "0:EP"
00115 #define CG_UPNP_AVT_RECORD_QUALITY_LP "1:LP"
00116 #define CG_UPNP_AVT_RECORD_QUALITY_SP "2:SP"
00117 #define CG_UPNP_AVT_RECORD_QUALITY_BASIC "0:BASIC"
00118 #define CG_UPNP_AVT_RECORD_QUALITY_MEDIUM "1:MEDIUM"
00119 #define CG_UPNP_AVT_RECORD_QUALITY_HIGH "2:HIGH"
00120 #define CG_UPNP_AVT_RECORD_QUALITY_NOT_IMPLEMENTED "NOT_IMPLEMENTED"
00121 
00122 /*****************************************************************************
00123  * Seek Modes
00124  *****************************************************************************/
00125 #define CG_UPNP_AVT_SEEK_MODE_TRACK_NR "TRACK_NR"
00126 #define CG_UPNP_AVT_SEEK_MODE_ABS_TIME "ABS_TIME"
00127 #define CG_UPNP_AVT_SEEK_MODE_REL_TIME "REL_TIME"
00128 #define CG_UPNP_AVT_SEEK_MODE_ABS_COUNT "ABS_COUNT"
00129 #define CG_UPNP_AVT_SEEK_MODE_REL_COUNT "REL_COUNT"
00130 #define CG_UPNP_AVT_SEEK_MODE_CHANNEL_FREQ "CHANNEL_FREQ"
00131 #define CG_UPNP_AVT_SEEK_MODE_TAPE_INDEX "TAPE_INDEX"
00132 #define CG_UPNP_AVT_SEEK_MODE_FRAME "FRAME"
00133 
00134 #endif

Generated on Mon Aug 14 10:23:32 2006 for CyberLinkC-AV by  doxygen 1.4.6