Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IResourcePalette.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 
27 #ifndef IRESOURCE_PALETTE_H_
28 #define IRESOURCE_PALETTE_H_
29 
30 #include "FCMPreConfig.h"
31 #include "FCMPluginInterface.h"
32 #include "Utils/DOMTypes.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 namespace DOM
38 {
39  namespace FrameElement
40  {
42  FORWARD_DECLARE_INTERFACE(IClassicText);
43  }
44 
45  namespace LibraryItem
46  {
47  FORWARD_DECLARE_INTERFACE(IMediaItem);
48  }
49 }
50 
51 
52 namespace Exporter
53 {
54  namespace Service
55  {
56  FORWARD_DECLARE_INTERFACE(ITimelineBuilder);
57  }
58 }
59 
60 /* -------------------------------------------------- Enums */
61 
62 
63 /* -------------------------------------------------- Macros / Constants */
64 
65 
66 namespace Exporter
67 {
68  namespace Service
69  {
77  {0xbc49188c, 0xb9f7, 0x4bca, {0xaa, 0x58, 0xed, 0x3c, 0xd9, 0xbc, 0xfc, 0xc7}};
78  }
79 }
80 
81 
82 /* -------------------------------------------------- Structs / Unions */
83 
84 
85 /* -------------------------------------------------- Class Decl */
86 
87 namespace Exporter
88 {
89  namespace Service
90  {
98 
99 
115  virtual FCM::Result _FCMCALL AddSymbol(
116  FCM::U_Int32 resourceId,
117  FCM::StringRep16 pName,
118  Exporter::Service::PITimelineBuilder pTimelineBuilder) = 0;
119 
120 
138  virtual FCM::Result _FCMCALL AddShape(
139  FCM::U_Int32 resourceId,
140  DOM::FrameElement::PIShape pShape) = 0;
141 
142 
162  virtual FCM::Result _FCMCALL AddSound(
163  FCM::U_Int32 resourceId,
164  DOM::LibraryItem::PIMediaItem pMediaItem) = 0;
165 
166 
184  virtual FCM::Result _FCMCALL AddBitmap(
185  FCM::U_Int32 resourceId,
186  DOM::LibraryItem::PIMediaItem pMediaItem) = 0;
187 
188 
201  virtual FCM::Result _FCMCALL AddClassicText(
202  FCM::U_Int32 resourceId,
203  DOM::FrameElement::PIClassicText pClassicText) = 0;
204 
205 
220  virtual FCM::Result _FCMCALL HasResource(
221  FCM::U_Int32 resourceId,
222  FCM::Boolean& hasResource) = 0;
223 
225  }
226 }
227 
228 
229 /* -------------------------------------------------- Inline / Functions */
230 
231 
232 #include "FCMPostConfig.h"
233 
234 #endif // IRESOURCE_PALETTE_H_
235 
#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-bit 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
U_Int16 * StringRep16
Used to define a UTF16 (unicode) encoded string.
Definition: FCMTypes.h:161
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
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
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.
An interface that defines a resource palette to hold all the resources encountered in the DOM travers...
Definition: IResourcePalette.h:97
FCM::ConstFCMIID IID_IRESOURCE_PALETTE
Defines the universally-unique interface ID for IResourcePalette.
Definition: IResourcePalette.h:76
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165