xref: /aoo42x/main/cppu/inc/uno/EnvDcp.h (revision 095d99d2)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef INCLUDED_uno_EnvDcp_h
25 #define INCLUDED_uno_EnvDcp_h
26 
27 #include "rtl/ustring.h"
28 
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif
33 
34 /** Get the OBI type part of an environment descriptor.
35 	(https://wiki.openoffice.org/wiki/Uno/Binary/Spec/Environment_Descriptor)
36 
37 	@param pEnvDcp        the Environment Descriptor
38 	@param ppEnvTypeName  the OBI type
39 	@since UDK 3.2.7
40 */
41 void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTypeName);
42 
43 
44 /** Get the purpose part of an environment descriptor.
45 	(https://wiki.openoffice.org/wiki/Uno/Binary/Spec/Environment_Descriptor)
46 
47 	@param pEnvDcp        the Environment Descriptor
48 	@param ppEnvPurpose   the purpose
49 	@since UDK 3.2.7
50 */
51 void uno_EnvDcp_getPurpose (rtl_uString const * pEnvDcp, rtl_uString ** ppEnvPurpose);
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 
59 #endif
60 
61