1*6da5f311SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*6da5f311SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*6da5f311SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*6da5f311SAndrew Rist  * distributed with this work for additional information
6*6da5f311SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*6da5f311SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*6da5f311SAndrew Rist  * "License"); you may not use this file except in compliance
9*6da5f311SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*6da5f311SAndrew Rist  *
11*6da5f311SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*6da5f311SAndrew Rist  *
13*6da5f311SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*6da5f311SAndrew Rist  * software distributed under the License is distributed on an
15*6da5f311SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*6da5f311SAndrew Rist  * KIND, either express or implied.  See the License for the
17*6da5f311SAndrew Rist  * specific language governing permissions and limitations
18*6da5f311SAndrew Rist  * under the License.
19*6da5f311SAndrew Rist  *
20*6da5f311SAndrew Rist  *************************************************************/
21*6da5f311SAndrew Rist 
22*6da5f311SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef INCLUDED_cppuhelper_test_testcmp_TestComponent_hxx
25cdf0e10cSrcweir #define INCLUDED_cppuhelper_test_testcmp_TestComponent_hxx
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <sal/types.h>
28cdf0e10cSrcweir #include <rtl/ustring.hxx>
29cdf0e10cSrcweir 
30cdf0e10cSrcweir #ifdef CPPUHELPER_TEST_COMPONENT_IMPL
31cdf0e10cSrcweir # define CPPUHELPER_TEST_COMPONENT_EXPORT SAL_DLLPUBLIC_EXPORT
32cdf0e10cSrcweir 
33cdf0e10cSrcweir #elif defined(CPPUHELPER_TEST_COMPONENT_LIB)
34cdf0e10cSrcweir # define CPPUHELPER_TEST_COMPONENT_EXPORT extern
35cdf0e10cSrcweir 
36cdf0e10cSrcweir #elif defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
37cdf0e10cSrcweir # define CPPUHELPER_TEST_COMPONENT_EXPORT extern __attribute__ ((weak))
38cdf0e10cSrcweir 
39cdf0e10cSrcweir #elif defined(__SUNPRO_CC)
40cdf0e10cSrcweir # define CPPUHELPER_TEST_COMPONENT_EXPORT extern
41cdf0e10cSrcweir   extern rtl::OUString g_envDcp;
42cdf0e10cSrcweir # pragma weak  g_envDcp
43cdf0e10cSrcweir 
44cdf0e10cSrcweir #else
45cdf0e10cSrcweir # define CPPUHELPER_TEST_COMPONENT_EXPORT SAL_DLLPUBLIC_IMPORT
46cdf0e10cSrcweir 
47cdf0e10cSrcweir #endif
48cdf0e10cSrcweir 
49cdf0e10cSrcweir CPPUHELPER_TEST_COMPONENT_EXPORT rtl::OUString g_envDcp;
50cdf0e10cSrcweir 
51cdf0e10cSrcweir 
52cdf0e10cSrcweir #endif
53