LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
Enterable.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 
24 #ifndef INCLUDED_UNO_ENTERABLE_H
25 #define INCLUDED_UNO_ENTERABLE_H
26 
27 #include "uno/environment.h"
28 
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
35 
42 typedef void uno_Enterable_enter (void * context);
43 
44 
51 typedef void uno_Enterable_leave (void * context);
52 
53 
62 typedef void uno_Enterable_callInto_v(void * context, uno_EnvCallee * pCallee, va_list * pParam);
63 
64 
73 typedef void uno_Enterable_callOut_v (void * context, uno_EnvCallee * pCallee, va_list * pParam);
74 
75 
85 typedef int uno_Enterable_isValid_v (void * context, rtl_uString ** ppReason);
86 
87 
93 typedef struct
94 {
100 }
102 
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void uno_EnvCallee(va_list *pParam)
Typedef for variable argument function.
Definition: environment.h:342
void uno_Enterable_leave(void *context)
Generic function type declaration for leaving an Environment.
Definition: Enterable.h:51
uno_Enterable_callInto_v * m_callInto_v
Definition: Enterable.h:97
int uno_Enterable_isValid_v(void *context, rtl_uString **ppReason)
Generic function type declaration for checking if calling on managed object is valid.
Definition: Enterable.h:85
A struct pReserved needs to point to, if implementing a purpose environment.
Definition: Enterable.h:93
uno_Enterable_callOut_v * m_callOut_v
Definition: Enterable.h:98
void uno_Enterable_enter(void *context)
Generic function type declaration for entering an Environment.
Definition: Enterable.h:42
uno_Enterable_isValid_v * m_isValid
Definition: Enterable.h:99
uno_Enterable_enter * m_enter
Definition: Enterable.h:95
void uno_Enterable_callInto_v(void *context, uno_EnvCallee *pCallee, va_list *pParam)
Generic function type declaration for calling into an Environment.
Definition: Enterable.h:62
uno_Enterable_leave * m_leave
Definition: Enterable.h:96
void uno_Enterable_callOut_v(void *context, uno_EnvCallee *pCallee, va_list *pParam)
Generic function type declaration for calling out of an Environment.
Definition: Enterable.h:73