Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ISound.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 ISOUND_ELEMENT_H_
27 #define ISOUND_ELEMENT_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMPluginInterface.h"
31 #include "Utils/DOMTypes.h"
32 
33 
34 /* -------------------------------------------------- Forward Decl */
35 
36 namespace DOM
37 {
38  namespace Utils
39  {
40  FORWARD_DECLARE_INTERFACE(ISoundEffect);
41  }
42 
43  namespace LibraryItem
44  {
45  FORWARD_DECLARE_INTERFACE(IMediaItem);
46  }
47 }
48 
49 
50 /* -------------------------------------------------- Enums */
51 
52 namespace DOM
53 {
54  namespace FrameElement
55  {
62  {
65 
66 
69  };
70 
71 
78  {
93 
94 
100 
101 
104 
105 
115  };
116  }
117 }
118 
119 
120 /* -------------------------------------------------- Macros / Constants */
121 
122 namespace DOM
123 {
124  namespace FrameElement
125  {
133  {0xef9dff11, 0x1b84, 0x41ba, {0xac, 0x7f, 0xc2, 0x56, 0xf, 0x69, 0x2f, 0x30}};
134  }
135 }
136 
137 
138 /* -------------------------------------------------- Structs / Unions */
139 
140 namespace DOM
141 {
142  namespace FrameElement
143  {
150  {
155  size_t structSize;
156 
157 
160 
161 
167  };
168 
169 
175  struct SOUND_LIMIT
176  {
181  size_t structSize;
182 
183 
186 
187 
190  };
191  }
192 }
193 
194 /* -------------------------------------------------- Class Decl */
195 
196 
197 namespace DOM
198 {
199  namespace FrameElement
200  {
207 
208 
218  virtual FCM::Result _FCMCALL GetSoundItem(DOM::LibraryItem::PIMediaItem& pSoundItem) = 0;
219 
220 
232  virtual FCM::Result _FCMCALL GetSoundEffect(PIFCMList& pISoundEffects) = 0;
233 
234 
247  virtual FCM::Result _FCMCALL GetLoopMode(SOUND_LOOP_MODE& loopMode) = 0;
248 
249 
259  virtual FCM::Result _FCMCALL GetSyncMode(SoundSyncMode& syncMode) = 0;
260 
261 
274  virtual FCM::Result _FCMCALL GetSoundLimit(SOUND_LIMIT& soundLimit) = 0;
275 
277  }
278 }
279 
280 
281 /* -------------------------------------------------- Inline / Functions */
282 
283 
284 #include "FCMPostConfig.h"
285 
286 #endif // ISOUND_ELEMENT_H_
287 
size_t structSize
Definition: ISound.h:155
FCM::S_Int32 outPos44
Definition: ISound.h:189
SoundSyncMode
This enum defines sync mode of a sound.
Definition: ISound.h:77
#define FORWARD_DECLARE_INTERFACE(ifx)
Used to forward declare an interface ifx.
Definition: FCMMacros.h:114
#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
Defines the starting and ending points of the sound object.
Definition: ISound.h:175
FCM::S_Int32 inPos44
Definition: ISound.h:185
SoundRepeatMode loopMode
Definition: ISound.h:159
Definition: ISound.h:114
Defines the loop mode for a sound.
Definition: ISound.h:149
Provides interfaces and other definitions to access the FLA authored contents in the form of a DOM (D...
FCM::U_Int16 repeatCount
Definition: ISound.h:166
size_t structSize
Definition: ISound.h:181
This file contains core definitions of the framework Flash Component Model (FCM). ...
SoundRepeatMode
This enum defines the repetition mode of a sound.
Definition: ISound.h:61
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
FCM::ConstFCMIID IID_ISOUND_ELEMENT
Defines the universally-unique interface ID for ISound.
Definition: ISound.h:132
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
Defines the interface that represents a sound item attached to a frame.
Definition: ISound.h:206
unsigned _int16 U_Int16
Type to define an unsigned 16-bit value.
Definition: FCMTypes.h:67
Definition: ISound.h:103
signed _int32 S_Int32
Type to define a signed 32-bit value.
Definition: FCMTypes.h:88
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165