Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFCMClassFactory.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 IFCM_CLASS_FACTORY_H_
27 #define IFCM_CLASS_FACTORY_H_
28 
29 #include "FCMPreConfig.h"
30 #include "FCMTypes.h"
31 #include "IFCMUnknown.h"
32 #include "IFCMCallback.h"
33 
34 
35 /* -------------------------------------------------- Forward Decl */
36 
37 
38 /* -------------------------------------------------- Macros / Constants */
39 
40 namespace FCM
41 {
48  {0xb249192e, 0xd262, 0x43ba, {0x86, 0x52, 0xc4, 0x1f, 0xcb, 0x34, 0x20, 0xf5}};
49 }
50 
51 
52 /* -------------------------------------------------- Enums */
53 
54 
55 /* -------------------------------------------------- Structs / Unions */
56 
57 
58 /* -------------------------------------------------- Class Decl */
59 
60 namespace FCM
61 {
68 
69 
88  virtual FCM::Result _FCMCALL CreateInstance(
89  PIFCMUnknown pUnkOuter,
90  PIFCMCallback pCallback,
91  ConstRefFCMIID iid,
92  FCM::PPVoid pAny) = 0;
93 
95 
96 }; // namespace FCM
97 
98 
99 /* -------------------------------------------------- Inline / Functions */
100 
101 
102 #include "FCMPostConfig.h"
103 
104 #endif //IFCM_CLASS_FACTORY_H_
This file contains definitions for various data types.
#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
void ** PPVoid
Type to define a pointer to pointer to void.
Definition: FCMTypes.h:154
This file contains interface for IFCMUnknown. All FCM interfaces inherit from IFCMUnknown. This interface is similar to Microsoft's COM IUnknown. Primary purpose of this interface is to facilitate a way to obtain pointers to other interfaces through QueryInterface method.
Defines the interface that represents the ClassFactory.
Definition: IFCMClassFactory.h:67
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
FCM::ConstFCMIID FCMIID_IFCMClassFactory
Defines the universally-unique interface ID for IFCMClassFactory.
Definition: IFCMClassFactory.h:47
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
This file contains interface for IFCMCallback. The IFCMCallback interface is a glue for the objects c...
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165