AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dispatcher.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_UNO_DISPATCHER_H
4 #define INCLUDED_UNO_DISPATCHER_H
5 
6 #include "sal/types.h"
7 #include "uno/any2.h"
8 
9 #ifdef __cplusplus
10 extern "C"
11 {
12 #endif
13 
15 struct _uno_Interface;
16 
32 typedef void (SAL_CALL * uno_DispatchMethod)(
33  struct _uno_Interface * pUnoI,
34  const struct _typelib_TypeDescription * pMemberType,
35  void * pReturn,
36  void * pArgs[],
37  uno_Any ** ppException );
38 
39 #if defined( _WIN32)
40 #pragma pack(push, 8)
41 #endif
42 
45 typedef struct SAL_DLLPUBLIC_RTTI _uno_Interface
46 {
51  void (SAL_CALL * acquire)( struct _uno_Interface * pInterface );
56  void (SAL_CALL * release)( struct _uno_Interface * pInterface );
61 
62 #if defined( _WIN32)
63 #pragma pack(pop)
64 #endif
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif
71 
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct SAL_DLLPUBLIC_RTTI _uno_Interface uno_Interface
The binary C uno interface description.
struct SAL_DLLPUBLIC_RTTI _uno_Any uno_Any
This is the binary specification of a UNO any.
void(* release)(struct _uno_Interface *pInterface)
Releases uno interface.
Definition: dispatcher.h:56
Full type description of a type.
Definition: typedescription.h:55
void(* uno_DispatchMethod)(struct _uno_Interface *pUnoI, const struct _typelib_TypeDescription *pMemberType, void *pReturn, void *pArgs[], uno_Any **ppException)
Function pointer declaration for the binary C uno dispatch function.
Definition: dispatcher.h:32
The binary C uno interface description.
Definition: dispatcher.h:45
uno_DispatchMethod pDispatcher
dispatch function
Definition: dispatcher.h:59