xref: /aoo41x/main/cppu/source/threadpool/current.hxx (revision c6ed87c9)
1*c6ed87c9SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*c6ed87c9SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*c6ed87c9SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*c6ed87c9SAndrew Rist  * distributed with this work for additional information
6*c6ed87c9SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*c6ed87c9SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*c6ed87c9SAndrew Rist  * "License"); you may not use this file except in compliance
9*c6ed87c9SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*c6ed87c9SAndrew Rist  *
11*c6ed87c9SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*c6ed87c9SAndrew Rist  *
13*c6ed87c9SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*c6ed87c9SAndrew Rist  * software distributed under the License is distributed on an
15*c6ed87c9SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c6ed87c9SAndrew Rist  * KIND, either express or implied.  See the License for the
17*c6ed87c9SAndrew Rist  * specific language governing permissions and limitations
18*c6ed87c9SAndrew Rist  * under the License.
19*c6ed87c9SAndrew Rist  *
20*c6ed87c9SAndrew Rist  *************************************************************/
21*c6ed87c9SAndrew Rist 
22*c6ed87c9SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #include "rtl/byteseq.h"
25cdf0e10cSrcweir 
26cdf0e10cSrcweir typedef struct _uno_ExtEnvironment uno_ExtEnvironment;
27cdf0e10cSrcweir 
28cdf0e10cSrcweir namespace cppu
29cdf0e10cSrcweir {
30cdf0e10cSrcweir struct CurrentContext;
31cdf0e10cSrcweir 
32cdf0e10cSrcweir struct IdContainer
33cdf0e10cSrcweir {
34cdf0e10cSrcweir 	void *               pCurrentContext;
35cdf0e10cSrcweir     uno_ExtEnvironment * pCurrentContextEnv;
36cdf0e10cSrcweir 	//
37cdf0e10cSrcweir 	sal_Bool			bInit;
38cdf0e10cSrcweir 	sal_Sequence *		pLocalThreadId;
39cdf0e10cSrcweir 	sal_Int32			nRefCountOfCurrentId;
40cdf0e10cSrcweir 	sal_Sequence *		pCurrentId;
41cdf0e10cSrcweir };
42cdf0e10cSrcweir 
43cdf0e10cSrcweir IdContainer * getIdContainer() SAL_THROW( () );
44cdf0e10cSrcweir }
45