InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OMFactoryCtor.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Zak_Williamson
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __OMFACTORYCTOR__
25 #define __OMFACTORYCTOR__
26 
27 #include "OMTypes.h"
28 
29 class IDataBase;
30 class IPMUnknown;
31 class IPMStream;
32 #ifdef DEBUG
33 typedef IPMUnknown * ( *InterfaceProxyConstructor)(IPMUnknown *pInterfaceImpl,const int32 ProxyID,IPMUnknown *boss);
34 #endif
35 #ifdef USE_ALLOCATE_WITH_BOSS
36 typedef void *(*InterfaceConstructor)(void *buffer, IPMUnknown *boss);
37 #else
38 typedef void *(*InterfaceConstructor)(IPMUnknown *boss);
39 #endif
40 typedef int32 (*InterfaceSizeOf)();
41 typedef void *(*BossConstructor)(ClassID clsID);
42 typedef void (*InterfaceDestructor)(void *deleteMe);
43 typedef void (*InterfaceReadWrite)(IPMUnknown *obj, IPMStream *s, ImplementationID prop, int32 length);
44 typedef void (*InterfaceResetViewFun)(IPMUnknown *obj, ImplementationID prop);
45 #endif