LibreOffice
LibreOffice 26.2 SDK C/C++ API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
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
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
/*
21
* This file is part of LibreOffice published API.
22
*/
23
#ifndef INCLUDED_UNO_DISPATCHER_H
24
#define INCLUDED_UNO_DISPATCHER_H
25
26
#include "
sal/types.h
"
27
#include "
uno/any2.h
"
28
29
#ifdef __cplusplus
30
extern
"C"
31
{
32
#endif
33
34
struct
_typelib_TypeDescription
;
35
struct
_uno_Interface
;
36
52
typedef
void (SAL_CALL *
uno_DispatchMethod
)(
53
struct
_uno_Interface
* pUnoI,
54
const
struct
_typelib_TypeDescription
* pMemberType,
55
void
* pReturn,
56
void
* pArgs[],
57
uno_Any
** ppException );
58
59
#if defined( _WIN32)
60
#pragma pack(push, 8)
61
#endif
62
65
typedef
struct
SAL_DLLPUBLIC_RTTI
_uno_Interface
66
{
71
void (SAL_CALL *
acquire
)(
struct
_uno_Interface
* pInterface );
76
void (SAL_CALL *
release
)(
struct
_uno_Interface
* pInterface );
79
uno_DispatchMethod
pDispatcher
;
80
}
uno_Interface
;
81
82
#if defined( _WIN32)
83
#pragma pack(pop)
84
#endif
85
86
#ifdef __cplusplus
87
}
88
#endif
89
90
#endif
91
92
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
types.h
uno_Interface
struct SAL_DLLPUBLIC_RTTI _uno_Interface uno_Interface
The binary C uno interface description.
uno_DispatchMethod
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:52
any2.h
uno_Any
struct SAL_DLLPUBLIC_RTTI _uno_Any uno_Any
This is the binary specification of a UNO any.
_typelib_TypeDescription
Full type description of a type.
Definition
typedescription.h:76
_uno_Interface
The binary C uno interface description.
Definition
dispatcher.h:66
_uno_Interface::pDispatcher
uno_DispatchMethod pDispatcher
dispatch function
Definition
dispatcher.h:79
_uno_Interface::acquire
void(* acquire)(struct _uno_Interface *pInterface)
Acquires uno interface.
Definition
dispatcher.h:71
_uno_Interface::release
void(* release)(struct _uno_Interface *pInterface)
Releases uno interface.
Definition
dispatcher.h:76
uno
dispatcher.h
Generated by
1.17.0