Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFCMCallback.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 
30 #ifndef IFCM_CALLBACK_H_
31 #define IFCM_CALLBACK_H_
32 
33 #include "FCMPreConfig.h"
34 #include "FCMTypes.h"
35 #include "IFCMUnknown.h"
36 
37 
38 /* -------------------------------------------------- Forward Decl */
39 
40 
41 /* -------------------------------------------------- Macros / Constants */
42 
43 namespace FCM
44 {
51  {0xdb438eab, 0xf457, 0x491d, {0x8e, 0xf2, 0xa1, 0xb8, 0x67, 0x70, 0x7e, 0x3e}};
52 }
53 
54 
55 /* -------------------------------------------------- Enums */
56 
57 
58 /* -------------------------------------------------- Structs / Unions */
59 
60 
61 /* -------------------------------------------------- Class Decl */
62 
63 namespace FCM
64 {
71 
72 
95  virtual FCM::Result _FCMCALL CreateInstance(
96  PIFCMUnknown pUnkOuter,
97  ConstRefFCMCLSID classID,
98  ConstRefFCMIID interfaceID,
99  FCM::PPVoid ppvObj) = 0;
100 
101 
113  virtual FCM::Result _FCMCALL GetService(
114  const FCM::SRVCID& serviceId,
115  PIFCMUnknown& serviceRef) = 0;
116 
118 
119 }; // namespace FCM
120 
121 
122 /* -------------------------------------------------- Inline / Functions */
123 
124 
125 #include "FCMPostConfig.h"
126 
127 #endif //IFCM_CALLBACK_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 callback.
Definition: IFCMCallback.h:70
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
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
FCM::ConstFCMIID FCMIID_IFCMCallback
Defines the universally-unique interface ID for IFCMCallback.
Definition: IFCMCallback.h:50
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165