Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6loader.h
Go to the documentation of this file.
1 
9 #ifndef P6LOADER_H__
10 #define P6LOADER_H__ 1
11 
12 #include "p6err.h" // Error and type definitions
13 #include "p6comdef.h" // [p6]COM definitions
14 #include "p6errorinfo.h" // Definition only, not supported by p6Loader
15 #include "p6runtimeapi.h" // Platform runtime API definitions
16 #include "p6comhlpr.h" // [p6]COM helper macros
21 #undef P6ASSERT
22 #define P6ASSERT(x)
23 #include "p6comptr.h" // Smart COM pointer, ASSERTs disabled
24 #include "p6runtimeif.h" // P6Platform's runtime COM API interface definitions
25 #include "p6datastream.h" // p6IDataStream interface definition
26 
27 #ifdef __cplusplus
28 namespace P6R {
29 extern "C" {
30 #endif
31 
32 typedef P6UINT32 P6SCLF;
33 
34 static const P6SCLF P6SCLF_NOFLAGS = 0x00000000;
39 static const P6SCLF P6SCLF_LOADALL = 0x00000001;
44 static const P6SCLF P6SCLF_DBGLOG = 0x00000002;
49 static const P6SCLF P6SCLF_INFLOG = 0x00000004;
54 static const P6SCLF P6SCLF_WRNLOG = 0x00000008;
58 static const P6SCLF P6SCLF_ALLLOG = 0x0000000f;
59 
66 static const P6SCLF P6SCLF_NOUNLOAD = 0x00000010;
67 
73 static const P6SCLF P6SCLF_LOGLOCALTM = 0x00000020;
74 
79 
103 P6API P6ERR P6CCALL p6InitializeLoader(p6IDataStream *pLogSink,P6INT32 nVerbosity,P6SCLF fFlags);
104 
105 
118 
120 typedef P6ERR (P6CCALL *P6INITIALIZELOADER)(p6IDataStream *pLogSink,P6INT32 nVerbosity,P6SCLF fFlags);
122 
123 #ifdef __cplusplus
124 } // extern "C"
125 } // namespace
126 #endif
127 
128 
129 #endif
130 
131 
132 
P6API P6ERR P6CCALL p6InitializeLoader(p6IDataStream *pLogSink, P6INT32 nVerbosity, P6SCLF fFlags)
Initializes the component loader.
P6COM smart interface pointer template.
#define P6CCALL
Definition: p6defs.h:124
P6API P6ERR P6CCALL p6CleanupLoader()
Cleans up and shuts down the component loader.
uint32_t P6UINT32
Definition: p6types.h:77
P6UINT32 P6SCLF
Definition: p6loader.h:32
Standard error codes.
#define P6API
[p6]COM runtime glue
Definition: p6defs.h:147
p6IDataStream interface definitions
P6COM runtime interfaces definitions.
P6ERR(P6CCALL * P6INITIALIZELOADER)(p6IDataStream *pLogSink, P6INT32 nVerbosity, P6SCLF fFlags)
Definition: p6loader.h:120
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:44
P6COM base interface definitions.
p6IErrorInfo interface definition
P6ERR(P6CCALL * P6CLEANUPLOADER)()
Definition: p6loader.h:121
P6UINT32 P6ERR
COM err return type see P6ERR.h.
Definition: p6types.h:141
P6COM runtime interfaces definitions.
int32_t P6INT32
Definition: p6types.h:76
P6R Component runtime helper macros, templated, etc.