Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFCMCalloc.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 
28 #ifndef IFCM_CALLOC_H_
29 #define IFCM_CALLOC_H_
30 
31 #include "FCMPreConfig.h"
32 #include "FCMTypes.h"
33 #include "IFCMUnknown.h"
34 
35 
36 /* -------------------------------------------------- Forward Decl */
37 
38 
39 /* -------------------------------------------------- Macros / Constants */
40 
41 namespace FCM
42 {
49  {0x1920b8dd, 0x6cd8, 0x4d9a, {0x82, 0x72, 0x4c, 0xba, 0x3f, 0x29, 0x8, 0x6f}};
50 }
51 
52 
53 /* -------------------------------------------------- Enums */
54 
55 
56 /* -------------------------------------------------- Structs / Unions */
57 
58 
59 /* -------------------------------------------------- Class Decl */
60 
61  namespace FCM
62  {
69 
70 
78  virtual FCM::PVoid _FCMCALL Alloc(FCM::U_Int32 cb) = 0;
79 
80 
87  virtual void _FCMCALL Free(FCM::PVoid pv) = 0;
88 
90 
91 }; // namespace FCM
92 
93 
94 /* -------------------------------------------------- Inline / Functions */
95 
96 
97 #include "FCMPostConfig.h"
98 
99 #endif //IFCM_CALLOC_H_
This file contains definitions for various data types.
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
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 calloc.
Definition: IFCMCalloc.h:68
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
Represents a 128 bit or 16-byte GUID (Globally Unique IDentifier) value.
Definition: FCMTypes.h:189
FCM::ConstFCMIID FCMIID_IFCMCalloc
Defines the universally unique ID for the interface IFCMCalloc.
Definition: IFCMCalloc.h:48
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
void * PVoid
Type to define a void pointer.
Definition: FCMTypes.h:147