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

Symbian

开发平台:

Visual C++

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Source last modified: $Id: smiltype.h,v 1.1.22.1 2004/07/09 01:57:24 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 _SMILTYPE_H_
  50. #define _SMILTYPE_H_
  51. typedef enum
  52. {
  53.     PersistentUnknown,
  54.     PersistentRAM,
  55.     PersistentSMIL
  56. } PersistentType;
  57. typedef enum
  58. {
  59.     XMLAttrTypeCDATA,
  60.     XMLAttrTypeID,
  61.     XMLAttrTypeIDREF,
  62.     XMLAttrTypeIDREFS,
  63.     XMLAttrTypeENTITY,
  64.     XMLAttrTypeENTITIES,
  65.     XMLAttrTypeNMTOKEN,
  66.     XMLAttrTypeNMTOKENS,
  67.     XMLAttrTypeEnumerated
  68. } XMLAttributeType;
  69. typedef enum
  70. {
  71.     SMIL2ElemA,
  72.     SMIL2ElemAnchor,
  73.     SMIL2ElemAnimate,
  74.     SMIL2ElemAnimateColor,
  75.     SMIL2ElemAnimateMotion,
  76.     SMIL2ElemAnimation,
  77.     SMIL2ElemArea,
  78.     SMIL2ElemAudio,
  79.     SMIL2ElemBody,
  80.     SMIL2ElemBrush,
  81.     SMIL2ElemCustomAttributes,
  82.     SMIL2ElemCustomTest,
  83.     SMIL2ElemExcl,
  84.     SMIL2ElemHead,
  85.     SMIL2ElemImg,
  86.     SMIL2ElemLayout,
  87.     SMIL2ElemMeta,
  88.     SMIL2ElemMetadata,
  89.     SMIL2ElemPar,
  90.     SMIL2ElemParam,
  91.     SMIL2ElemPrefetch,
  92.     SMIL2ElemPriorityClass,
  93.     SMIL2ElemRef,
  94.     SMIL2ElemRegPoint,
  95.     SMIL2ElemRegion,
  96.     SMIL2ElemRootLayout,
  97.     SMIL2ElemSeq,
  98.     SMIL2ElemSet,
  99.     SMIL2ElemSmil,
  100.     SMIL2ElemSwitch,
  101.     SMIL2ElemText,
  102.     SMIL2ElemTextstream,
  103.     SMIL2ElemTopLayout,
  104.     SMIL2ElemTransition,
  105.     SMIL2ElemVideo,
  106.     SMIL2ElemRNParam,
  107.     SMIL2ElemRNRendererList,
  108.     SMIL2ElemRNRenderer,
  109.     XMLEventsElemListener,
  110.     NumSMIL2Elements // NOTE: THIS SHOULD ALWAYS BE LAST!!!
  111. } SMIL2Element;
  112. typedef enum
  113. {
  114.     SMIL2AttrAbstract,
  115.     SMIL2AttrAccesskey,
  116.     SMIL2AttrAccumulate,
  117.     SMIL2AttrActuate,
  118.     SMIL2AttrAdditive,
  119.     SMIL2AttrAlt,
  120.     SMIL2AttrAttributeName,
  121.     SMIL2AttrAttributeType,
  122.     SMIL2AttrAuthor,
  123.     SMIL2AttrBackground_Color,
  124.     SMIL2AttrBackgroundColor,
  125.     SMIL2AttrBandwidth,
  126.     SMIL2AttrBegin,
  127.     SMIL2AttrBorderColor,
  128.     SMIL2AttrBorderWidth,
  129.     SMIL2AttrBottom,
  130.     SMIL2AttrBy,
  131.     SMIL2AttrCalcMode,
  132.     SMIL2AttrClass,
  133.     SMIL2AttrClip_Begin,
  134.     SMIL2AttrClipBegin,
  135.     SMIL2AttrClip_End,
  136.     SMIL2AttrClipEnd,
  137.     SMIL2AttrClose,
  138.     SMIL2AttrColor,
  139.     SMIL2AttrContent,
  140.     SMIL2AttrCoords,
  141.     SMIL2AttrCopyright,
  142.     SMIL2AttrCustomTest,
  143.     SMIL2AttrDefaultState,
  144.     SMIL2AttrDestinationLevel,
  145.     SMIL2AttrDestinationPlaystate,
  146.     SMIL2AttrDirection,
  147.     SMIL2AttrDur,
  148.     SMIL2AttrEnd,
  149.     SMIL2AttrEndProgress,
  150.     SMIL2AttrEndsync,
  151.     SMIL2AttrErase,
  152.     SMIL2AttrExternal,
  153.     SMIL2AttrFadeColor,
  154.     SMIL2AttrFill,
  155.     SMIL2AttrFillDefault,
  156.     SMIL2AttrFit,
  157.     SMIL2AttrFragment,
  158.     SMIL2AttrFrom,
  159.     SMIL2AttrHeight,
  160.     SMIL2AttrHigher,
  161.     SMIL2AttrHorzRepeat,
  162.     SMIL2AttrHref,
  163.     SMIL2AttrId,
  164.     SMIL2AttrLeft,
  165.     SMIL2AttrLongdesc,
  166.     SMIL2AttrLower,
  167.     SMIL2AttrMax,
  168.     SMIL2AttrMediaRepeat,
  169.     SMIL2AttrMediaSize,
  170.     SMIL2AttrMediaTime,
  171.     SMIL2AttrMin,
  172.     SMIL2AttrName,
  173.     SMIL2AttrNohref,
  174.     SMIL2AttrOpen,
  175.     SMIL2AttrOrigin,
  176.     SMIL2AttrOverride,
  177.     SMIL2AttrPauseDisplay,
  178.     SMIL2AttrPeers,
  179.     SMIL2AttrReadIndex,
  180.     SMIL2AttrRegAlign,
  181.     SMIL2AttrRegion,
  182.     SMIL2AttrRegionName,
  183.     SMIL2AttrRegPoint,
  184.     SMIL2AttrRepeat,
  185.     SMIL2AttrRepeatCount,
  186.     SMIL2AttrRepeatDur,
  187.     SMIL2AttrRestart,
  188.     SMIL2AttrRestartDefault,
  189.     SMIL2AttrRight,
  190.     SMIL2AttrSensitivity,
  191.     SMIL2AttrShape,
  192.     SMIL2AttrShow,
  193.     SMIL2AttrShowBackground,
  194.     SMIL2AttrSkip_Content,
  195.     SMIL2AttrSoundLevel,
  196.     SMIL2AttrSourceLevel,
  197.     SMIL2AttrSourcePlaystate,
  198.     SMIL2AttrSrc,
  199.     SMIL2AttrStartProgress,
  200.     SMIL2AttrSubtype,
  201.     SMIL2AttrSyncBehavior,
  202.     SMIL2AttrSyncBehaviorDefault,
  203.     SMIL2AttrSyncTolerance,
  204.     SMIL2AttrSyncToleranceDefault,
  205.     SMIL2AttrSystem_Bitrate,
  206.     SMIL2AttrSystem_Captions,
  207.     SMIL2AttrSystem_Language,
  208.     SMIL2AttrSystem_Overdub_Or_Caption,
  209.     SMIL2AttrSystem_Required,
  210.     SMIL2AttrSystem_Screen_Depth,
  211.     SMIL2AttrSystem_Screen_Size,
  212.     SMIL2AttrSystemAudioDesc,
  213.     SMIL2AttrSystemBitrate,
  214.     SMIL2AttrSystemCaptions,
  215.     SMIL2AttrSystemComponent,
  216.     SMIL2AttrSystemCPU,
  217.     SMIL2AttrSystemLanguage,
  218.     SMIL2AttrSystemOperatingSystem,
  219.     SMIL2AttrSystemOverdubOrSubtitle,
  220.     SMIL2AttrSystemRequired,
  221.     SMIL2AttrSystemScreenDepth,
  222.     SMIL2AttrSystemScreenSize,
  223.     SMIL2AttrTabindex,
  224.     SMIL2AttrTarget,
  225.     SMIL2AttrTargetElement,
  226.     SMIL2AttrTitle,
  227.     SMIL2AttrTo,
  228.     SMIL2AttrTop,
  229.     SMIL2AttrTransIn,
  230.     SMIL2AttrTransOut,
  231.     SMIL2AttrType,
  232.     SMIL2AttrUid,
  233.     SMIL2AttrValue,
  234.     SMIL2AttrValues,
  235.     SMIL2AttrValuetype,
  236.     SMIL2AttrVertRepeat,
  237.     SMIL2AttrWidth,
  238.     SMIL2AttrXmlBase,
  239.     SMIL2AttrXmlLang,
  240.     SMIL2AttrXmlns,
  241.     SMIL2AttrZ_Index,
  242.     SMIL2AttrRNBackgroundOpacity,
  243.     SMIL2AttrRNChromaKey,
  244.     SMIL2AttrRNChromaKeyOpacity,
  245.     SMIL2AttrRNChromaKeyTolerance,
  246.     SMIL2AttrRNMediaOpacity,
  247.     SMIL2AttrRNOpacity,
  248.     SMIL2AttrRNDelivery,
  249.     SMIL2AttrRNHandledBy,
  250.     SMIL2AttrRNSendTo,
  251.     SMIL2AttrRNContextWindow,
  252.     SMIL2AttrRNSystemComponent,
  253.     SMIL2AttrRNResizeBehavior,
  254.     XMLEventsAttrEvent,
  255.     XMLEventsAttrObserver,
  256.     XMLEventsAttrTarget,
  257.     XMLEventsAttrHandler,
  258.     XMLEventsAttrPhase,
  259.     XMLEventsAttrPropagate,
  260.     XMLEventsAttrDefaultAction,
  261.     SMIL2AttrRNAccessErrorBehavior,
  262.     NumSMIL2Attributes // NOTE: THIS SHOULD ALWAYS BE LAST!!!
  263. } SMIL2Attribute;
  264. typedef enum
  265. {
  266.     SMIL2AttrCollCore,
  267.     SMIL2AttrCollI18N,
  268.     SMIL2AttrCollBasicTiming,
  269.     SMIL2AttrCollTest,
  270.     SMIL2AttrCollTiming,
  271.     SMIL2AttrCollSubregion,
  272.     SMIL2AttrCollMediaElement,
  273.     NumSMIL2AttributeCollections // NOTE: THIS SHOULD ALWAYS BE LAST!!!
  274. } SMIL2AttributeCollection;
  275. typedef enum
  276. {
  277.     AccumulateNone,
  278.     AccumulateSum
  279. } AnimateAccumulate;
  280. typedef enum
  281. {
  282.     ActuateOnRequest,
  283.     ActuateOnLoad
  284. } AnchorActuate;
  285. typedef enum
  286. {
  287.     AdditiveReplace,
  288.     AdditiveSum
  289. } AnimateAdditive;
  290. typedef enum
  291. {
  292.     CalcModeDiscrete,
  293.     CalcModeLinear,
  294.     CalcModePaced
  295. } AnimateCalcMode;
  296. typedef enum
  297. {
  298.     ViewportCloseOnRequest,
  299.     ViewportCloseWhenNotActive
  300. } ViewportClose;
  301. typedef enum
  302. {
  303.     DestinationPlaystatePlay,
  304.     DestinationPlaystatePause,
  305.     DestinationPlaystateStop
  306. } AnchorDestinationPlaystate;
  307. typedef enum
  308. {
  309.     TransitionDirectionForward,
  310.     TransitionDirectionReverse
  311. } TransitionDirection;
  312. typedef enum
  313. {
  314.     EraseWhenDone,
  315.     EraseNever
  316. } EraseType;
  317. typedef enum
  318. {
  319.     FillRemove,
  320.     FillFreeze,
  321.     FillHold,
  322.     FillTransition,
  323.     FillAuto,
  324.     FillDefault
  325. } FillType;
  326. typedef enum
  327. {
  328.     FillDefaultRemove,
  329.     FillDefaultFreeze,
  330.     FillDefaultHold,
  331.     FillDefaultTransition,
  332.     FillDefaultAuto,
  333.     FillDefaultInherit
  334. } FillDefaultType;
  335. typedef enum
  336. {
  337.     FitFill,
  338.     FitHidden,
  339.     FitMeet,
  340.     FitScroll,
  341.     FitSlice
  342. } Fit;
  343. typedef enum
  344. {
  345.     DeliveryClient,
  346.     DeliveryServer
  347. } ParamDelivery;
  348. typedef enum
  349. {
  350.     HigherStop,
  351.     HigherPause
  352. } PriorityClassHigher;
  353. typedef enum
  354. {
  355.     LowerDefer,
  356.     LowerNever
  357. } PriorityClassLower;
  358. typedef enum
  359. {
  360.     MediaRepeatPreserve,
  361.     MediaRepeatStrip
  362. } MediaRepeat;
  363. typedef enum
  364. {
  365.     ViewportOpenOnStart,
  366.     ViewportOpenWhenActive
  367. } ViewportOpen;
  368. typedef enum
  369. {
  370.     OverrideVisible,
  371.     OverrideHidden
  372. } CustomTestOverride;
  373. typedef enum
  374. {
  375.     PauseDisplayDisable,
  376.     PauseDisplayHide,
  377.     PauseDisplayShow
  378. } PriorityClassPauseDisplay;
  379. typedef enum
  380. {
  381.     PeersStop,
  382.     PeersPause,
  383.     PeersDefer,
  384.     PeersNever
  385. } PriorityClassPeers;
  386. typedef enum
  387. {
  388.     RegAlignTopLeft,
  389.     RegAlignTopMid,
  390.     RegAlignTopRight,
  391.     RegAlignMidLeft,
  392.     RegAlignCenter,
  393.     RegAlignMidRight,
  394.     RegAlignBottomLeft,
  395.     RegAlignBottomMid,
  396.     RegAlignBottomRight
  397. } RegAlign;
  398. typedef enum
  399. {
  400.     ShapeRect,
  401.     ShapeCircle,
  402.     ShapePoly,
  403.     ShapeDefault
  404. } AreaShape;
  405. typedef enum
  406. {
  407.     ShowNew,
  408.     ShowPause,
  409.     ShowReplace
  410. } AreaShow;
  411. typedef enum
  412. {
  413.     ShowBackgroundAlways,
  414.     ShowBackgroundWhenActive
  415. } ShowBackground;
  416. typedef enum
  417. {
  418.     SourcePlaystatePlay,
  419.     SourcePlaystatePause,
  420.     SourcePlaystateStop
  421. } AnchorSourcePlaystate;
  422. typedef enum
  423. {
  424.     TransitionSubtypeLeftToRight,
  425.     TransitionSubtypeTopToBottom,
  426.     TransitionSubtypeTopLeft,
  427.     TransitionSubtypeTopRight,
  428.     TransitionSubtypeBottomRight,
  429.     TransitionSubtypeBottomLeft,
  430.     TransitionSubtypeTopCenter,
  431.     TransitionSubtypeRightCenter,
  432.     TransitionSubtypeBottomCenter,
  433.     TransitionSubtypeLeftCenter,
  434.     TransitionSubtypeCornersIn,
  435.     TransitionSubtypeCornersOut,
  436.     TransitionSubtypeVertical,
  437.     TransitionSubtypeHorizontal,
  438.     TransitionSubtypeDiagonalBottomLeft,
  439.     TransitionSubtypeDiagonalTopLeft,
  440.     TransitionSubtypeDoubleBarnDoor,
  441.     TransitionSubtypeDoubleDiamond,
  442.     TransitionSubtypeDown,
  443.     TransitionSubtypeLeft,
  444.     TransitionSubtypeUp,
  445.     TransitionSubtypeRight,
  446.     TransitionSubtypeRectangle,
  447.     TransitionSubtypeDiamond,
  448.     TransitionSubtypeCircle,
  449.     TransitionSubtypeFourPoint,
  450.     TransitionSubtypeFivePoint,
  451.     TransitionSubtypeSixPoint,
  452.     TransitionSubtypeHeart,
  453.     TransitionSubtypeKeyhole,
  454.     TransitionSubtypeClockwiseTwelve,
  455.     TransitionSubtypeClockwiseThree,
  456.     TransitionSubtypeClockwiseSix,
  457.     TransitionSubtypeClockwiseNine,
  458.     TransitionSubtypeTwoBladeVertical,
  459.     TransitionSubtypeTwoBladeHorizontal,
  460.     TransitionSubtypeFourBlade,
  461.     TransitionSubtypeClockwiseTop,
  462.     TransitionSubtypeClockwiseRight,
  463.     TransitionSubtypeClockwiseBottom,
  464.     TransitionSubtypeClockwiseLeft,
  465.     TransitionSubtypeClockwiseTopLeft,
  466.     TransitionSubtypeCounterClockwiseBottomLeft,
  467.     TransitionSubtypeClockwiseBottomRight,
  468.     TransitionSubtypeCounterClockwiseTopRight,
  469.     TransitionSubtypeCenterTop,
  470.     TransitionSubtypeCenterRight,
  471.     TransitionSubtypeFanOutVertical,
  472.     TransitionSubtypeFanOutHorizontal,
  473.     TransitionSubtypeFanInVertical,
  474.     TransitionSubtypeFanInHorizontal,
  475.     TransitionSubtypeParallelVertical,
  476.     TransitionSubtypeParallelHorizontal,
  477.     TransitionSubtypeParallelDiagonal,
  478.     TransitionSubtypeOppositeVertical,
  479.     TransitionSubtypeOppositeHorizontal,
  480.     TransitionSubtypeParallelDiagonalTopLeft,
  481.     TransitionSubtypeParallelDiagonalBottomLeft,
  482.     TransitionSubtypeTop,
  483.     TransitionSubtypeBottom,
  484.     TransitionSubtypeTopLeftHorizontal,
  485.     TransitionSubtypeTopLeftVertical,
  486.     TransitionSubtypeTopLeftDiagonal,
  487.     TransitionSubtypeTopRightDiagonal,
  488.     TransitionSubtypeBottomRightDiagonal,
  489.     TransitionSubtypeBottomLeftDiagonal,
  490.     TransitionSubtypeTopLeftClockwise,
  491.     TransitionSubtypeTopRightClockwise,
  492.     TransitionSubtypeBottomRightClockwise,
  493.     TransitionSubtypeBottomLeftClockwise,
  494.     TransitionSubtypeTopLeftCounterClockwise,
  495.     TransitionSubtypeTopRightCounterClockwise,
  496.     TransitionSubtypeBottomRightCounterClockwise,
  497.     TransitionSubtypeBottomLeftCounterClockwise,
  498.     TransitionSubtypeVerticalTopSame,
  499.     TransitionSubtypeVerticalBottomSame,
  500.     TransitionSubtypeVerticalTopLeftOpposite,
  501.     TransitionSubtypeVerticalBottomLeftOpposite,
  502.     TransitionSubtypeHorizontalLeftSame,
  503.     TransitionSubtypeHorizontalRightSame,
  504.     TransitionSubtypeHorizontalTopLeftOpposite,
  505.     TransitionSubtypeHorizontalTopRightOpposite,
  506.     TransitionSubtypeDiagonalBottomLeftOpposite,
  507.     TransitionSubtypeDiagonalTopLeftOpposite,
  508.     TransitionSubtypeTwoBoxTop,
  509.     TransitionSubtypeTwoBoxBottom,
  510.     TransitionSubtypeTwoBoxLeft,
  511.     TransitionSubtypeTwoBoxRight,
  512.     TransitionSubtypeFourBoxVertical,
  513.     TransitionSubtypeFourBoxHorizontal,
  514.     TransitionSubtypeVerticalLeft,
  515.     TransitionSubtypeVerticalRight,
  516.     TransitionSubtypeHorizontalLeft,
  517.     TransitionSubtypeHorizontalRight,
  518.     TransitionSubtypeFromLeft,
  519.     TransitionSubtypeFromTop,
  520.     TransitionSubtypeFromRight,
  521.     TransitionSubtypeFromBottom,
  522.     TransitionSubtypeCrossfade,
  523.     TransitionSubtypeFadeToColor,
  524.     TransitionSubtypeFadeFromColor
  525. } TransitionSubtype;
  526. typedef enum
  527. {
  528.     SystemCaptionsOn,
  529.     SystemCaptionsOff
  530. } SystemCaptions;
  531. typedef enum
  532. {
  533.     OverdubOrCaptionOverdub,
  534.     OverdubOrCaptionCaption
  535. } SystemOverdubOrCaption;
  536. typedef enum
  537. {
  538.     AudioDescOn,
  539.     AudioDescOff
  540. } SystemAudioDesc;
  541. typedef enum
  542. {
  543.     OverdubOrSubtitleOverdub,
  544.     OverdubOrSubtitleSubtitle
  545. } SystemOverdubOrSubtitle;
  546. typedef enum
  547. {
  548.     TransitionTypeBarWipe,
  549.     TransitionTypeBoxWipe,
  550.     TransitionTypeFourBoxWipe,
  551.     TransitionTypeBarnDoorWipe,
  552.     TransitionTypeDiagonalWipe,
  553.     TransitionTypeBowTieWipe,
  554.     TransitionTypeMiscDiagonalWipe,
  555.     TransitionTypeVeeWipe,
  556.     TransitionTypeBarnVeeWipe,
  557.     TransitionTypeZigZagWipe,
  558.     TransitionTypeBarnZigZagWipe,
  559.     TransitionTypeIrisWipe,
  560.     TransitionTypeTriangleWipe,
  561.     TransitionTypeArrowHeadWipe,
  562.     TransitionTypePentagonWipe,
  563.     TransitionTypeHexagonWipe,
  564.     TransitionTypeEllipseWipe,
  565.     TransitionTypeEyeWipe,
  566.     TransitionTypeRoundRectWipe,
  567.     TransitionTypeStarWipe,
  568.     TransitionTypeMiscShapeWipe,
  569.     TransitionTypeClockWipe,
  570.     TransitionTypePinWheelWipe,
  571.     TransitionTypeSingleSweepWipe,
  572.     TransitionTypeFanWipe,
  573.     TransitionTypeDoubleFanWipe,
  574.     TransitionTypeDoubleSweepWipe,
  575.     TransitionTypeSaloonDoorWipe,
  576.     TransitionTypeWindshieldWipe,
  577.     TransitionTypeSnakeWipe,
  578.     TransitionTypeSpiralWipe,
  579.     TransitionTypeParallelSnakesWipe,
  580.     TransitionTypeBoxSnakesWipe,
  581.     TransitionTypeWaterfallWipe,
  582.     TransitionTypePushWipe,
  583.     TransitionTypeSlideWipe,
  584.     TransitionTypeFade
  585. } TransitionType;
  586. typedef enum
  587. {
  588.     ValuetypeData,
  589.     ValuetypeRef,
  590.     ValuetypeObject
  591. } ParamValuetype;
  592. typedef enum
  593. {
  594.     NamespaceSystemComponent,
  595.     NamespaceSizeControl,
  596.     NamespaceAlphaControl,
  597.     NamespaceParam,
  598.     NamespaceSendTo,
  599.     NamespaceHandledBy,
  600.     NamespaceRendererList,
  601.     NamespaceAccessErrorBehavior,
  602.     NamespaceAllSMIL2Extensions,
  603.     NamespaceSMIL2AccessKeyTiming,
  604.     NamespaceSMIL2AudioLayout,
  605.     NamespaceSMIL2BasicAnimation,
  606.     NamespaceSMIL2BasicContentControl,
  607.     NamespaceSMIL2BasicInlineTiming,
  608.     NamespaceSMIL2BasicLayout,
  609.     NamespaceSMIL2BasicLinking,
  610.     NamespaceSMIL2BasicMedia,
  611.     NamespaceSMIL2BasicTimeContainers,
  612.     NamespaceSMIL2BasicTransistions,
  613.     NamespaceSMIL2BrushMedia,
  614.     NamespaceSMIL2CustomTestAttributes,
  615.     NamespaceSMIL2EventTiming,
  616.     NamespaceSMIL2ExclTimeContainers,
  617.     NamespaceSMIL2FillDefault,
  618.     NamespaceSMIL2HierarchicalLayout,
  619.     NamespaceSMIL2InlineTransitions,
  620.     NamespaceSMIL2LinkingAttributes,
  621.     NamespaceSMIL2MediaAccessibility,
  622.     NamespaceSMIL2MediaClipMarkers,
  623.     NamespaceSMIL2MediaClipping,
  624.     NamespaceSMIL2MediaDescription,
  625.     NamespaceSMIL2MediaMarkerTiming,
  626.     NamespaceSMIL2MediaParam,
  627.     NamespaceSMIL2Metainformation,
  628.     NamespaceSMIL2MinMaxTiming,
  629.     NamespaceSMIL2MultiArcTiming,
  630.     NamespaceSMIL2MultiWindowLayout,
  631.     NamespaceSMIL2ObjectLinking,
  632.     NamespaceSMIL2PrefetchControl,
  633.     NamespaceSMIL2RepeatTiming,
  634.     NamespaceSMIL2RepeatValueTiming,
  635.     NamespaceSMIL2RestartDefault,
  636.     NamespaceSMIL2RestartTiming,
  637.     NamespaceSMIL2SkipContentControl,
  638.     NamespaceSMIL2SplineAnimation,
  639.     NamespaceSMIL2Structure,
  640.     NamespaceSMIL2SyncbaseTiming,
  641.     NamespaceSMIL2SyncBehavior,
  642.     NamespaceSMIL2SyncBehaviorDefault,
  643.     NamespaceSMIL2SyncMaster,
  644.     NamespaceSMIL2TimeContainerAttributes,
  645.     NamespaceSMIL2TimeManipulations,
  646.     NamespaceSMIL2TransitionModifiers,
  647.     NamespaceSMIL2WallclockTiming,
  648.     NamespaceXMLEvents,
  649.     NamespaceNotImplemented // NOTE!! This should always be last
  650. } SupportedNamespace;
  651. typedef enum
  652. {
  653.     ResizeZoom,
  654.     ResizePercentOnly
  655. } ResizeBehavior;
  656. typedef enum
  657. {
  658.     WithinUnknown = 0,
  659.     WithinSeq = 1,
  660.     WithinSeqInPar = 2,
  661.     WithinPar = 3
  662. } ElementWithinTag;
  663. typedef enum
  664. {
  665.     RepeatUnknown,
  666.     RepeatReplica,
  667.     RepeatIndefiniteOnGroup,
  668.     RepeatIndefiniteOnMe
  669. } RepeatTag;
  670. typedef enum
  671. {
  672.     UpdateUnknown,
  673.     UpdateDuration,
  674.     UpdateDelay,
  675.     UpdateAll
  676. } UpdateTag;
  677. typedef enum
  678. {
  679.     SmilBeginTimeList,
  680.     SmilEndTimeList
  681. } SmilTimingListType;
  682. typedef enum
  683. {
  684.     PrefetchUnknown = 0,
  685.     PrefetchTime,
  686.     PrefetchTimePercent,
  687.     PrefetchBytes,
  688.     PrefetchBytesPercent,
  689.     PrefetchBandwidth,
  690.     PrefetchBandwidthPercent
  691.     , PrefetchMaxAllowedPlus1
  692. } PrefetchType;
  693. typedef enum
  694. {
  695.     HandledByRPBrowser,
  696.     HandledByRPContextWin,
  697.     HandledByRPEngine,
  698.     HandledByAuto
  699. } HandledBy;
  700. typedef enum
  701. {
  702.     SendToRPBrowser,
  703.     SendToRPContextWin,
  704.     SendToOSDefaultBrowser,
  705.     SendToRPEngine
  706. } SendTo;
  707. typedef enum
  708. {
  709.     ContextWindowAuto,
  710.     ContextWindowOpenAtStart
  711. } ContextWindow;
  712. typedef enum
  713. {
  714.     PhaseCapture,
  715.     PhaseDefault
  716. } Phase;
  717. typedef enum
  718. {
  719.     PropagateStop,
  720.     PropagateContinue
  721. } Propagate;
  722. typedef enum
  723. {
  724.     DefaultActionCancel,
  725.     DefaultActionPerform
  726. } DefaultAction;
  727. typedef enum
  728. {
  729.     AccessErrorBehaviorInherit,
  730.     AccessErrorBehaviorContinue,
  731.     AccessErrorBehaviorStop
  732. } AccessErrorBehavior;
  733. typedef enum
  734. {
  735.     CSS2TypeAuto,
  736.     CSS2TypeInherit,
  737.     CSS2TypeLength,
  738.     CSS2TypePercentage,
  739.     CSS2TypeInteger,
  740.     CSS2TypeColor,
  741.     CSS2TypeTransparent
  742. } CSS2Type;
  743. typedef struct
  744. {
  745.     double         m_dLeft;
  746.     CSS2Type       m_eLeftType;
  747.     double         m_dTop;
  748.     CSS2Type       m_eTopType;
  749.     double         m_dRight;
  750.     CSS2Type       m_eRightType;
  751.     double         m_dBottom;
  752.     CSS2Type       m_eBottomType;
  753.     double         m_dWidth;
  754.     CSS2Type       m_eWidthType;
  755.     double         m_dHeight;
  756.     CSS2Type       m_eHeightType;
  757. }
  758. LayoutRect;
  759. typedef struct
  760. {
  761.     double   m_dLeft;
  762.     CSS2Type m_eLeftType;
  763.     double   m_dTop;
  764.     CSS2Type m_eTopType;
  765.     double   m_dRight;
  766.     CSS2Type m_eRightType;
  767.     double   m_dBottom;
  768.     CSS2Type m_eBottomType;
  769.     RegAlign m_eRegAlign;
  770. }
  771. RegPoint;
  772. typedef enum
  773. {
  774.       SmilRestartNever
  775.     , SmilRestartWhenNotActive
  776.     , SmilRestartAlways
  777.     , SmilRestartDefault // /Default val for restart
  778.     , SmilRestartInherit // /Default val for restartDefault
  779. }SmilElementRestart;
  780. typedef enum
  781. {
  782.       SmilSyncBehaviorInvalid
  783.     , SmilSyncBehaviorCanSlip
  784.     , SmilSyncBehaviorLocked
  785.     , SmilSyncBehaviorIndependent
  786.     , SmilSyncBehaviorDefault // /Default val for syncBehavior.
  787.     , SmilSyncBehaviorInherit // /Default val for syncBehaviorDefault.
  788. }SMILSyncBehaviorType;
  789. typedef enum
  790. {
  791.       SMILPriorityClassPauseDisplayInvalid
  792.     , SMILPriorityClassPauseDisplayDisable
  793.     , SMILPriorityClassPauseDisplayHide
  794.     , SMILPriorityClassPauseDisplayShow // /Default for pauseDisplay.
  795. }SMILPriorityClassPauseDisplay;
  796. typedef enum
  797. {
  798.       SMILPriorityClassPeersHigherLowerInvalid
  799.     , SMILPriorityClassStop  // /Default for peers.
  800.     , SMILPriorityClassPause // /Default for higher.
  801.     , SMILPriorityClassDefer // /Default for lower.
  802.     , SMILPriorityClassNever
  803. }SMILPriorityClassPeersHigherLowerVal;
  804. typedef enum
  805. {
  806.       SMILPriorityClassPeersHigherLowerAttribInvalid
  807.     , SMILPriorityClassPeers
  808.     , SMILPriorityClassHigher
  809.     , SMILPriorityClassLower
  810. }SMILPriorityClassPeersHigherLowerAttrib;
  811. typedef enum
  812. {
  813.       SMILLinkPlaystateInvalid
  814.     , SMILLinkPlaystatePlay
  815.     , SMILLinkPlaystatePause
  816.     , SMILLinkPlaystateStop
  817. }SMILLinkPlaystate;
  818. typedef enum
  819. {
  820.     SMILUnknown = 0,
  821.     SMILAAnchor,
  822.     SMILAnchor,
  823.     SMILAnimate,
  824.     SMILAnimateColor,
  825.     SMILAnimateMotion,
  826.     SMILAnimation,
  827.     SMILArea,
  828.     SMILAudio,
  829.     SMILBody,
  830.     SMILBrush,
  831.     SMILCustomAttributes,
  832.     SMILCustomTest,
  833.     SMILExcl,
  834.     SMILHead,
  835.     SMILImg,
  836.     SMILBasicLayout,
  837.     SMILMeta,
  838.     SMILMetadata,
  839.     SMILPar,
  840.     SMILParam,
  841.     SMILPrefetch,
  842.     SMILPriorityClass,
  843.     SMILRef,
  844.     SMILRegPoint,
  845.     SMILRegion,
  846.     SMILRootLayout,
  847.     SMILSeq,
  848.     SMILSet,
  849.     SMILSmil,
  850.     SMILSwitch,
  851.     SMILText,
  852.     SMILTextstream,
  853.     SMILViewport,
  854.     SMILTransition,
  855.     SMILVideo,
  856.     SMILEndPar,
  857.     SMILEndSeq,
  858.     SMILEndExcl,
  859.     SMILEndPriorityClass,
  860.     SMILRNRendererList,
  861.     SMILRendererPreFetch,
  862.     SMILEndAAnchor
  863. } SMILNodeTag;
  864. typedef enum
  865. {
  866.     SMILEventSourceNone,
  867.     SMILEventSourceBegin,
  868.     SMILEventSourceEnd,
  869.     SMILEventSourceFirst,
  870.     SMILEventSourceLast,
  871.     SMILEventSourceAll,
  872.     SMILEventSourceID,
  873.     SMILEventSourceClock
  874. } SMILEventSourceTag;
  875. typedef enum
  876. {
  877.     SMILSyncAttrNone,
  878.     SMILSyncAttrBegin,
  879.     SMILSyncAttrEnd,
  880.     SMILSyncAttrDur,
  881.     SMILSyncAttrEndsync,
  882.     SMILSyncAttrClipBegin,
  883.     SMILSyncAttrClipEnd,
  884.     SMILSyncAttrSyncTolerance,
  885.     SMILSyncAttrSyncToleranceDefault,
  886.     SMILSyncAttrSyncBehavior,
  887.     SMILSyncAttrSyncBehaviorDefault,
  888.     SMILSyncAttrMin,
  889.     SMILSyncAttrMax
  890. } SMILSyncAttributeTag;
  891. typedef enum
  892. {
  893.     SMILErrorNone,
  894.     SMILErrorGeneralError,
  895.     SMILErrorBadXML,
  896.     SMILErrorNotSMIL,
  897.     SMILErrorDuplicateID,
  898.     SMILErrorNonexistentID,
  899.     SMILErrorNoBodyTag,
  900.     SMILErrorNoBodyElements,
  901.     SMILErrorUnrecognizedTag,
  902.     SMILErrorUnrecognizedAttribute,
  903.     SMILErrorUnexpectedTag,
  904.     SMILErrorBadDuration,
  905.     SMILErrorBadAttribute,
  906.     SMILErrorBadFragment,
  907.     SMILErrorRequiredAttributeMissing,
  908.     SMILErrorSyncAttributeMissing,
  909.     SMILErrorUnexpectedContent,
  910.     SMILErrorSMIL10Document,
  911.     SMILErrorIndefiniteNotSupported,
  912.     SMILErrorMetaDatatype,
  913.     SMILErrorRootLayoutHeightWidthRequired,
  914.     SMILErrorBadID,
  915.     SMILErrorNoSources,
  916.     SMILErrorBadTimeValue,
  917.     SMILErrorBadWallClockValue,
  918.     SMILErrorTimeValueNotallowed
  919. // XXXMEH - these don't seem to be used, and also
  920. // require a dependency on hxresult.h, xmlreslt.h,
  921. // so try removing them for now
  922. //    SMILXMLUnknownError             = HXR_XML_GENERALERROR,
  923. //    SMILXMLErrorNoClose             = HXR_XML_NOCLOSE,
  924. //    SMILXMLErrorBadAttribute        = HXR_XML_BADATTRIBUTE,
  925. //    SMILXMLErrorNoValue             = HXR_XML_NOVALUE,
  926. //    SMILXMLErrorMissingQuote        = HXR_XML_MISSINGQUOTE,
  927. //    SMILXMLErrorBadEndTag           = HXR_XML_BADENDTAG,
  928. //    SMILXMLErrorNoTagType           = HXR_XML_NOTAGTYPE,
  929. //    SMILXMLErrorIllegalID           = HXR_XML_ILLEGALID
  930. } SMILErrorTag;
  931. #define SMILTIME_PAUSED_INDEFINITELY    ((LONG32)2147483642)  /* 0x7FFFFFFA */
  932. #define SMILTIME_DEFERRED_INDEFINITELY  ((LONG32)2147483645)  /* 0x7FFFFFFD */
  933.  
  934. #define SMILTIME_NEGATIVE_INFINITY      ((LONG32)-2147483647) /* 0x80000001 */
  935. #define SMILTIME_INFINITY               ((LONG32)2147483647)  /* 0x7FFFFFFF */
  936.  
  937. #define SMILTIME_INVALID                ((UINT32)-1)          /* 0xFFFFFFFF */
  938. #endif /* _SMILTYPE_H_ */