vsrcinfo.h
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:10k
源码类别:

Symbian

开发平台:

C/C++

  1. /* ***** BEGIN LICENSE BLOCK ***** 
  2.  * Version: RCSL 1.0/RPSL 1.0 
  3.  *  
  4.  * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
  5.  *      
  6.  * The contents of this file, and the files included with this file, are 
  7.  * subject to the current version of the RealNetworks Public Source License 
  8.  * Version 1.0 (the "RPSL") available at 
  9.  * http://www.helixcommunity.org/content/rpsl unless you have licensed 
  10.  * the file under the RealNetworks Community Source License Version 1.0 
  11.  * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
  12.  * in which case the RCSL will apply. You may also obtain the license terms 
  13.  * directly from RealNetworks.  You may not use this file except in 
  14.  * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
  15.  * applicable to this file, the RCSL.  Please see the applicable RPSL or 
  16.  * RCSL for the rights, obligations and limitations governing use of the 
  17.  * contents of the file.  
  18.  *  
  19.  * This file is part of the Helix DNA Technology. RealNetworks is the 
  20.  * developer of the Original Code and owns the copyrights in the portions 
  21.  * it created. 
  22.  *  
  23.  * This file, and the files included with this file, is distributed and made 
  24.  * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
  25.  * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
  26.  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
  27.  * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
  28.  * 
  29.  * Technology Compatibility Kit Test Suite(s) Location: 
  30.  *    http://www.helixcommunity.org/content/tck 
  31.  * 
  32.  * Contributor(s): 
  33.  *  
  34.  * ***** END LICENSE BLOCK ***** */ 
  35. #ifndef _VIEWINFO_H_
  36. #define _VIEWINFO_H_
  37. void 
  38. QueueModificationTime(CBigByteGrowingQueue* pQ, UINT32 ulModTime);
  39. void
  40. QueueFileSize(CBigByteGrowingQueue* pQ, UINT32 ulFileSize);
  41. #define z_pImage_ss "<img src="%s" align="RIGHT" alt="%s" border="0">"
  42. #define z_pSMILHeader "</font>n"
  43. "<table border="0" cellspacing="0" cellpadding="0" width="100%">n"
  44. "<tr>n"
  45. "  <td valign="top">n"
  46. "    <font face="arial, helvetica, sans-serif">n"
  47. #define z_pSMILTrailer "n"
  48. "  </td>n"
  49. "  <td align="right">n"
  50. "    <table border="0" cellspacing="0" cellpadding="0">n"
  51. "      <tr>n"
  52. "        <td align="right">n"
  53. "          <font face="Arial, Helvetica, sans-serif">n"
  54. "            <strong>SMIL</strong>n"
  55. "          </font>n"
  56. "        </td>n"
  57. "      </tr>n"
  58. "      <tr>n"
  59. "        <td align="right">n"
  60. "          <font face="arial, helvetica, sans-serif" size="-1"> n"
  61. "            <a href="http://www.w3.org/AudioVideo/">n"
  62. "                  <strong>S</strong>ynchronized n"
  63. "                  <strong>M</strong>ultimedia n"
  64. "                  <strong>I</strong>ntegration n"
  65. "                  <strong>L</strong>anguage</a>n"
  66. "          </font>n"
  67. "        </td>n"
  68. "      </tr>n"
  69. "      <tr>n"
  70. "        <td align="right">n"
  71. "          <font face="arial, helvetica, sans-serif" size="-2">n"
  72. "            A <a href="http://www.w3.org/">W3C</a> Recommendationn"
  73. "          </font>n"
  74. "        </td>n"
  75. "      </tr>n"
  76. "      <tr>n"
  77. "        <td align="right">&nbsp;</td>n"
  78. "      </tr>n"
  79. "      <tr>n"
  80. "        <td align="right">&nbsp;</td>n"
  81. "      </tr>n"
  82. "    </table>n"
  83. "  </td>n"
  84. "</tr>n"
  85. "</table>n"
  86. "n"
  87. #define z_pSMILHREF  "<a href="http://www.w3.org/AudioVideo/">"
  88. #define z_pSMILImageLoc "http://www.w3.org/Icons/WWW/w3c_home"
  89. #define z_pSMILAltText  "Synchronized Multimedia Integration Language, a W3C Recommendation"
  90. // Image paths
  91. #define z_pAudioGif "realaudio.gif"
  92. #define z_pVideoGif "realvideo.gif"
  93. #define z_pJPEGGif "realpix.gif"
  94. #define z_pGIFGif "realpix.gif"
  95. #define z_pFlashGif "reallogo.gif"
  96. #define z_pRealTextGif "realtext.gif"
  97. #define z_pRealPixGif "realpix.gif"
  98. #define z_pSMILGif "realsmil.gif"
  99. #define z_pAudioName "RealAudio"
  100. #define z_pVideoName "RealVideo"
  101. #define z_pGIFName "GIF Image"
  102. #define z_pJPEGName "JPEG Image"
  103. #define z_pSMILName "SMIL"
  104. #define z_pRealTextName "RealText"
  105. #define z_pRealPixName "RealPix"
  106. #define z_pRAMName "RAM File"
  107. // defaults - for remote links
  108. #define z_pDefaultRemoteMount "/viewsource/template.html"
  109. #define z_pDefaultRemotePort "8080"
  110. // pxjpgff & pxgifff specific
  111. #define z_pImageType "<strong>Image Type: </strong>"
  112. #define z_pColorTableBits_i "<strong>Number of Bits in Color Table: </strong> %i"
  113. #define z_pJPEGComponents_i "<strong>Number of JPEG Components: </strong> %i"
  114. #define z_pJPEGProgressive "<strong>Progressive JPEG: </strong>"
  115. #define z_pImageDimen_ii "<strong>Dimensions: </strong> %i x %i pixels"
  116. // Common
  117. #define z_pEndLine "<br>n"
  118. #define z_pListOpen "<ul>"
  119. #define z_pListClose "</ul>"
  120. #define z_pListItem "<li><font face="Arial, Helvetica, sans-serif">"
  121. #define z_pCloseItem "</font>"
  122. #define z_pOpen "<font face="Arial, Helvetica, sans-serif">n"
  123. #define z_pClose "</font>n"
  124. #define z_pStream "<strong>Stream:</strong> "
  125. #define z_pFileName "<strong>File Name:</strong> "
  126. #define z_pLastModified "<strong>Last Modified:</strong> "
  127. #define z_pFileSize "<strong>File Size:</strong> "
  128. #define z_pFileLive "<strong>Live Feed</strong>"
  129. #define z_pRamLink "<strong>Stream to RealPlayer: </strong>"
  130. #define z_pPlusURLHead_s "<h2>ViewSource for %s</h2>n"
  131. #define z_pPlusURLItem_sss "<li><a href="%s?%s">%s</a>n"
  132.     
  133. // Streams: ( rminfo )
  134. #define z_pTitle "<strong>Title:</strong> "
  135. #define z_pAuthor "<strong>Author:</strong> "
  136. #define z_pCopyright "<strong>Copyright:</strong> "
  137. #define z_pFileDuration_iii "<strong>Duration:</strong> %.2i:%.2i.%i "
  138. #define z_pFileBufferTime_f "<strong>Buffer Time:</strong> %.1f seconds"
  139. #define z_pFileMaxBitRate_f "<strong>Max Bit Rate:</strong> %.1f Kbps"
  140. #define z_pFileAvgBitRate_f "<strong>Avg Bit Rate:</strong> %.1f Kbps"
  141. #define z_pPerfectPlay_en "<strong>Perfect Play:</strong> enabled"
  142. #define z_pPerfectPlay_dis "<strong>Perfect Play:</strong> disabled"
  143. #define z_pRecording_off "<strong>Allow Recording:</strong> off"
  144. #define z_pRecording_on "<strong>Allow Recording:</strong> on"
  145. #define z_pDownload_off "<strong>Allow Download:</strong> off"
  146. #define z_pDownload_on "<strong>Allow Download:</strong> on"
  147. #define z_pCompatibility "<strong>Player Compatibility:</strong> "
  148. // stream specific stuff - ( rminfo )
  149. #define z_pStreamNum_i "<strong>Stream: %i</strong> "
  150. #define z_pMimeType "<strong>MIME type: </strong>"
  151. #define z_pMaxBitRate_f "<strong>Max Stream Bit Rate: </strong>%.1f Kbps"
  152. #define z_pAvgBitRate_f "<strong>Avg Stream Bit Rate: </strong>%.1f Kbps"
  153. #define z_pBitRate_f "<strong>Bit Rate: </strong>%.1f Kbps"
  154. #define z_pDuration_iii "<strong>Duration:</strong> %.2i:%.2i.%i "
  155. #define z_pBufferTime_f "<strong>Buffer Time:</strong> %.1f seconds"
  156. #define z_pGeneric_u "<strong>%s: </strong>%u"
  157. #define z_pGeneric_s "<strong>%s: </strong>%s"
  158. #define z_pACodec "<strong>Audio Codec:</strong> "
  159. #define z_pAudioCodecs "<strong>SureStream Audio Codecs: </strong>"
  160. #define z_pSampleRate_i " %i Khz"
  161. #define z_pASMPairings "<strong>Stream Pairings</strong>"
  162. #define z_pOldPNMCompatable " - Backwards Compatibility Stream"
  163. #define z_pHTTPStream      " - for HTTP streaming"
  164. #define z_pVCodec "<strong>Video Codec:</strong> "
  165. #define z_pVideoCodecs "<strong>SureStream Video Codecs: </strong>"
  166. #define z_pEncFrameRate_s "<strong>Encoded Frame Rate: </strong>%s fps"
  167. #define z_pFrameRate_i "<strong>Encoded Frame Rate: </strong>%i fps"
  168. #define z_pDimensions_ii "<strong>Dimensions: </strong>%ix%i"
  169. #define z_pXMLSource_s "<strong>%s source: </strong>"
  170. #define z_pUnknownCodecs        "<strong>SureStream Bit Rates: </strong>"
  171. // Flash
  172. #define z_pFileVersion "<strong>File Version:</strong> "
  173. #define z_pNotRealDataType "<h1>Unrecognized file Format.</h1>"
  174. // View Index Files
  175. #define z_pMountPointName "<strong>Browsing: </strong>"
  176. #define z_pIndexHeaderRamGen "        Info  File Name                      Playn"
  177. #define z_pIndexHeader "        Info  File Name"
  178. // Tags used in xmlesc.cpp
  179. #define tag_BEGIN_TAG "<strong>"
  180. #define tag_END_TAG "</strong>"
  181. #define tag_BEGIN_TAG_NAME "<font face="arial, helvetica, sans-serif" color="#551A8B">"
  182. #define tag_END_TAG_NAME "</font>"
  183. #define tag_BEGIN_ATTRIBUTE "<font face="arial, helvetica, sans-serif" color="#003E98">"
  184. #define tag_END_ATTRIBUTE "</font>"
  185. #define tag_BEGIN_BROKEN_ATT "<font face="arial, helvetica, sans-serif" color="#0000FF"><blink>"
  186. #define tag_END_BROKEN_ATT "</blink></font>"
  187. #define tag_BEGIN_COMMENT "<em><font face="arial, helvetica, sans-serif" color="black">"
  188. #define tag_END_COMMENT "</font></em>"
  189. #define tag_BEGIN_AMPERSAND "<font face="arial, helvetica, sans-serif" color="#2F4F2F">"
  190. #define tag_END_AMPERSAND "</font>"
  191. #define tag_BEGIN_HREF "<A href=""
  192. #define tag_END_HREF "</A>"
  193. #define tag_PROCESSING_INSTRUCTIONS "<strong><font face="arial, helvetica, sans-serif" color="green">"
  194. #define tag_END_PI "</font></B>"
  195. #define tag_BEGIN_CDATA "<font face="Arial, Helvetica, sans-serif" color="Fuchsia">"
  196. #define tag_END_CDATA "</font>"
  197. #define tag_BEGIN_DTD "<font face="Arial, Helvetica, sans-serif" color="red">"
  198. #define tag_END_DTD "</font>"
  199. #define style_BEGIN_TAG "<span class="TagMarkup">"
  200. #define style_END_TAG "</span>"
  201. #define style_BEGIN_TAG_NAME "<span class="TagNameMarkup">"
  202. #define style_END_TAG_NAME "</span>"
  203. #define style_BEGIN_ATTRIBUTE "<span class="AttributeValueMarkup">"
  204. #define style_END_ATTRIBUTE "</span>"
  205. #define style_BEGIN_BROKEN_ATT "<span class="BrokenAttributeMarkup">"
  206. #define style_END_BROKEN_ATT "</span>"
  207. #define style_BEGIN_COMMENT "<span class="CommentMarkup">"
  208. #define style_END_COMMENT "</span>"
  209. #define style_BEGIN_AMPERSAND "<span class="AmpersandThingyMarkup">"
  210. #define style_END_AMPERSAND "</span>"
  211. #define style_BEGIN_HREF "<a href=""
  212. #define style_END_HREF "</a>"
  213. #define style_PROCESSING_INSTRUCTIONS "<span class="ProcessingInstructionsMarkup">"
  214. #define style_END_PI "</span>"
  215. #define style_BEGIN_CDATA "<span class="CDATAMarkup">"
  216. #define style_END_CDATA "</span>"
  217. #define style_BEGIN_DTD "<span class="DocumentTypeDeffinitionMarkup">"
  218. #define style_END_DTD "</span>"
  219. #endif // _VIEWINFO_H_