Custom Platform Support Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ITimelineBuilder.h
Go to the documentation of this file.
1 /******************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2013] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 ******************************************************************************/
18 
26 #ifndef ITIMELINE_BUILDER_H_
27 #define ITIMELINE_BUILDER_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "Utils/DOMTypes.h"
33 #include "IFrame.h"
34 
35 
36 /* -------------------------------------------------- Forward Decl */
37 
38 namespace DOM
39 {
40  namespace FrameElement
41  {
42  FORWARD_DECLARE_INTERFACE(IMovieClip);
44  }
45 
47 }
48 
49 
50 /* -------------------------------------------------- Enums */
51 
52 
53 /* -------------------------------------------------- Macros / Constants */
54 
55 namespace Exporter
56 {
57  namespace Service
58  {
66  {0xe1fa4e28, 0x3a46, 0x4106, {0xbc, 0xdb, 0xf, 0x46, 0x5b, 0x1f, 0xd4, 0x62}};
67  }
68 }
69 
70 
71 /* -------------------------------------------------- Structs / Unions */
72 
73 namespace Exporter
74 {
75  namespace Service
76  {
82  struct SOUND_INFO
83  {
85  size_t structSize;
86 
89  };
90 
91 
99  {
101  size_t structSize;
102 
105 
111 
114  };
115 
116 
124 
125 
133 
134 
142 
143 
151 
152 
160  }
161 }
162 
163 
164 /* -------------------------------------------------- Class Decl */
165 
166 namespace Exporter
167 {
168  namespace Service
169  {
178 
179 
190  virtual FCM::Result _FCMCALL AddShape(
191  FCM::U_Int32 objectId,
192  SHAPE_INFO* pShapeInfo) = 0;
193 
194 
206  virtual FCM::Result _FCMCALL AddClassicText(
207  FCM::U_Int32 objectId,
208  CLASSIC_TEXT_INFO* pClassicTextInfo) = 0;
209 
210 
222  virtual FCM::Result _FCMCALL AddBitmap(
223  FCM::U_Int32 objectId,
224  BITMAP_INFO* pBitmapInfo) = 0;
225 
226 
241  virtual FCM::Result _FCMCALL AddMovieClip(
242  FCM::U_Int32 objectId,
243  MOVIE_CLIP_INFO* pMovieClipInfo,
244  DOM::FrameElement::PIMovieClip pMovieClip) = 0;
245 
246 
258  virtual FCM::Result _FCMCALL AddGraphic(
259  FCM::U_Int32 objectId,
260  GRAPHIC_INFO* pGraphicInfo) = 0;
261 
262 
277  virtual FCM::Result _FCMCALL AddSound(
278  FCM::U_Int32 objectId,
279  SOUND_INFO* pSoundInfo,
280  DOM::FrameElement::PISound pSound) = 0;
281 
282 
296  virtual FCM::Result _FCMCALL UpdateZOrder(
297  FCM::U_Int32 objectId,
298  FCM::U_Int32 placeAfterObjectId) = 0;
299 
300 
309  virtual FCM::Result _FCMCALL Remove(FCM::U_Int32 objectId) = 0;
310 
311 
324  virtual FCM::Result _FCMCALL UpdateBlendMode(
325  FCM::U_Int32 objectId,
326  DOM::FrameElement::BlendMode blendMode) = 0;
327 
328 
340  virtual FCM::Result _FCMCALL UpdateVisibility(
341  FCM::U_Int32 objectId,
342  FCM::Boolean visible) = 0;
343 
344 
357  virtual FCM::Result _FCMCALL UpdateGraphicFilter(
358  FCM::U_Int32 objectId,
359  PIFCMList pFilterable) = 0;
360 
361 
374  virtual FCM::Result _FCMCALL UpdateDisplayTransform(
375  FCM::U_Int32 objectId,
376  const DOM::Utils::MATRIX2D& matrix) = 0;
377 
378 
391  virtual FCM::Result _FCMCALL UpdateColorTransform(
392  FCM::U_Int32 objectId,
393  const DOM::Utils::COLOR_MATRIX& colorMatrix) = 0;
394 
395 
403  virtual FCM::Result _FCMCALL ShowFrame() = 0;
404 
405 
422  virtual FCM::Result _FCMCALL AddFrameScript(FCM::CStringRep16 pScript, FCM::U_Int32 layerNum) = 0;
423 
424 
433  virtual FCM::Result _FCMCALL RemoveFrameScript(FCM::U_Int32 layerNum) = 0;
434 
435 
451  virtual FCM::Result _FCMCALL SetFrameLabel(FCM::StringRep16 pLabel, DOM::KeyFrameLabelType labelType) = 0;
452 
454 
455  }
456 }
457 
458 
459 /* -------------------------------------------------- Inline / Functions */
460 
461 
462 #include "FCMPostConfig.h"
463 
464 #endif // ITIMELINE_BUILDER_H_
465 
DISPLAY_OBJECT_INFO BITMAP_INFO
This structure contains placement information about a bitmap object on the stage. ...
Definition: ITimelineBuilder.h:132
#define FORWARD_DECLARE_INTERFACE(ifx)
Used to forward declare an interface ifx.
Definition: FCMMacros.h:114
unsigned _int32 U_Int32
Type to define an unsigned 32 bits value.
Definition: FCMTypes.h:81
#define BEGIN_DECLARE_INTERFACE(ifx, iid)
Used to begin the interface ifx with ID iid, which inherits from IFCMUnknown.
Definition: FCMMacros.h:147
The definitions contained in this namespace define a framework called Flash Component Model (FCM)...
Definition: IGroup.h:36
DISPLAY_OBJECT_INFO CLASSIC_TEXT_INFO
This structure contains placement information about a text object on the stage.
Definition: ITimelineBuilder.h:141
This file contains the interface for IMovieClip. IMovieClip interface represents a "MovieClip" symbol...
This file contains the interface for IFrame. The IFrame interface represents a frame in the layer of ...
DOM::Utils::MATRIX2D matrix
Definition: ITimelineBuilder.h:113
U_Int16 * StringRep16
Used to define a UTF16 (unicode) encoded string.
Definition: FCMTypes.h:161
DISPLAY_OBJECT_INFO GRAPHIC_INFO
This structure contains placement information about a graphic object on the stage.
Definition: ITimelineBuilder.h:159
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
FCM::U_Int32 resourceId
Definition: ITimelineBuilder.h:88
U_Int8 Boolean
Type to define a boolean.
Definition: FCMTypes.h:140
This file contains core definitions of the framework Flash Component Model (FCM). ...
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
Represents a transformation matrix.
Definition: DOMTypes.h:199
This file contains the types used for DOM traversal and access.
U_Int32 Result
Type to define a result. This is usually the return type for most APIs.
Definition: FCMTypes.h:126
Represents a 128 bit or 16-byte GUID (Globally Unique IDentifier) value.
Definition: FCMTypes.h:189
Provides interfaces for exporter that can be used by custom publisher.
const U_Int16 * CStringRep16
Used to define a constant UTF16 (unicode) encoded string.
Definition: FCMTypes.h:168
DISPLAY_OBJECT_INFO SHAPE_INFO
This structure contains placement information about a shape object on the stage.
Definition: ITimelineBuilder.h:123
size_t structSize
Definition: ITimelineBuilder.h:85
This structure contains information about a sound object in the timeline.
Definition: ITimelineBuilder.h:82
size_t structSize
Definition: ITimelineBuilder.h:101
This interface represents a builder for a timeline. Timeline builder contains methods that are invoke...
Definition: ITimelineBuilder.h:177
FCM::U_Int32 placeAfterObjectId
Definition: ITimelineBuilder.h:110
FCM::ConstFCMIID IID_ITIMELINE_BUILDER
Defines the universally-unique interface ID for ITimelineBuilder.
Definition: ITimelineBuilder.h:65
BlendMode
Defines the different Blend modes available in Flash for the movieclip instance.
Definition: IMovieClip.h:54
KeyFrameLabelType
Defines the types of frames.
Definition: IFrame.h:55
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
This structure contains placement information about a display object on the stage.
Definition: ITimelineBuilder.h:98
FCM::U_Int32 resourceId
Definition: ITimelineBuilder.h:104
DISPLAY_OBJECT_INFO MOVIE_CLIP_INFO
This structure contains placement information about a movie-clip object on the stage.
Definition: ITimelineBuilder.h:150