Warning, /libraries/phonon-vlc/MimeTypes.cmake is written in an unsupported language. File is not indexed.

0001 # Copyright (C) 2012, Harald Sitter <sitter@kde.org>
0002 #
0003 # Redistribution and use is allowed according to the terms of the BSD license.
0004 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
0005 
0006 set(PHONON_VLC_MIME_TYPES
0007     application/mpeg4-iod
0008     application/mpeg4-muxcodetable
0009     application/mxf
0010     application/ogg
0011     application/ram
0012     application/sdp
0013     application/vnd.apple.mpegurl
0014     application/vnd.ms-asf
0015     application/vnd.ms-wpl
0016     application/vnd.rn-realmedia
0017     application/vnd.rn-realmedia-vbr
0018     application/x-cd-image
0019     application/x-extension-m4a
0020     application/x-extension-mp4
0021     application/x-flac
0022     application/x-flash-video
0023     application/x-matroska
0024     application/x-ogg
0025     application/x-quicktime-media-link
0026     application/x-quicktimeplayer
0027     application/x-shockwave-flash
0028     application/xspf+xml
0029     audio/3gpp
0030     audio/3gpp2
0031     audio/AMR
0032     audio/AMR-WB
0033     audio/aac
0034     audio/ac3
0035     audio/basic
0036     audio/dv
0037     audio/eac3
0038     audio/flac
0039     audio/m4a
0040     audio/midi
0041     audio/mp1
0042     audio/mp2
0043     audio/mp3
0044     audio/mp4
0045     audio/mpeg
0046     audio/mpegurl
0047     audio/mpg
0048     audio/ogg
0049     audio/opus
0050     audio/scpls
0051     audio/vnd.dolby.heaac.1
0052     audio/vnd.dolby.heaac.2
0053     audio/vnd.dolby.mlp
0054     audio/vnd.dts
0055     audio/vnd.dts.hd
0056     audio/vnd.rn-realaudio
0057     audio/vorbis
0058     audio/wav
0059     audio/webm
0060     audio/x-aac
0061     audio/x-adpcm
0062     audio/x-aiff
0063     audio/x-ape
0064     audio/x-flac
0065     audio/x-gsm
0066     audio/x-it
0067     audio/x-m4a
0068     audio/x-matroska
0069     audio/x-mod
0070     audio/x-mp1
0071     audio/x-mp2
0072     audio/x-mp3
0073     audio/x-mpeg
0074     audio/x-mpegurl
0075     audio/x-mpg
0076     audio/x-ms-asf
0077     audio/x-ms-asx
0078     audio/x-ms-wax
0079     audio/x-ms-wma
0080     audio/x-musepack
0081     audio/x-pn-aiff
0082     audio/x-pn-au
0083     audio/x-pn-realaudio
0084     audio/x-pn-realaudio-plugin
0085     audio/x-pn-wav
0086     audio/x-pn-windows-acm
0087     audio/x-real-audio
0088     audio/x-realaudio
0089     audio/x-s3m
0090     audio/x-scpls
0091     audio/x-shorten
0092     audio/x-speex
0093     audio/x-tta
0094     audio/x-vorbis
0095     audio/x-vorbis+ogg
0096     audio/x-wav
0097     audio/x-wavpack
0098     audio/x-xm
0099     image/vnd.rn-realpix
0100     misc/ultravox
0101     text/google-video-pointer
0102     text/x-google-video-pointer
0103     video/3gp
0104     video/3gpp
0105     video/3gpp2
0106     video/avi
0107     video/divx
0108     video/dv
0109     video/fli
0110     video/flv
0111     video/mp2t
0112     video/mp4
0113     video/mp4v-es
0114     video/mpeg
0115     video/mpeg-system
0116     video/msvideo
0117     video/ogg
0118     video/quicktime
0119     video/vnd.divx
0120     video/vnd.mpegurl
0121     video/vnd.rn-realvideo
0122     video/webm
0123     video/x-anim
0124     video/x-avi
0125     video/x-flc
0126     video/x-fli
0127     video/x-flv
0128     video/x-m4v
0129     video/x-matroska
0130     video/x-mpeg
0131     video/x-mpeg-system
0132     video/x-mpeg2
0133     video/x-ms-asf
0134     video/x-ms-asf-plugin
0135     video/x-ms-asx
0136     video/x-ms-wm
0137     video/x-ms-wmv
0138     video/x-ms-wmx
0139     video/x-ms-wvx
0140     video/x-msvideo
0141     video/x-nsv
0142     video/x-ogm
0143     video/x-ogm+ogg
0144     video/x-theora
0145     video/x-theora+ogg
0146     x-content/audio-cdda
0147     x-content/audio-player
0148     x-content/video-dvd
0149     x-content/video-svcd
0150     x-content/video-vcd
0151 )
0152 
0153 macro(CREATE_C_ARRAY var list)
0154     set(ret "")
0155     foreach(str ${PHONON_VLC_MIME_TYPES})
0156         if(NOT ret)
0157             set(ret "\"${str}\"")
0158         else(NOT ret)
0159             set(ret "${ret}, \"${str}\"")
0160         endif(NOT ret)
0161     endforeach(str)
0162     set(${var} "{${ret}, 0}")
0163 endmacro(CREATE_C_ARRAY var list)
0164 
0165 CREATE_C_ARRAY(PHONON_VLC_MIME_TYPES_C_ARRAY ${PHONON_VLC_MIME_TYPES})