vsrcinfo.h
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:11k
源码类别:

Symbian

开发平台:

Visual C++

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