1*514f4c20SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*514f4c20SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*514f4c20SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*514f4c20SAndrew Rist * distributed with this work for additional information 6*514f4c20SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*514f4c20SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*514f4c20SAndrew Rist * "License"); you may not use this file except in compliance 9*514f4c20SAndrew Rist * with the License. You may obtain a copy of the License at 10*514f4c20SAndrew Rist * 11*514f4c20SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*514f4c20SAndrew Rist * 13*514f4c20SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*514f4c20SAndrew Rist * software distributed under the License is distributed on an 15*514f4c20SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*514f4c20SAndrew Rist * KIND, either express or implied. See the License for the 17*514f4c20SAndrew Rist * specific language governing permissions and limitations 18*514f4c20SAndrew Rist * under the License. 19*514f4c20SAndrew Rist * 20*514f4c20SAndrew Rist *************************************************************/ 21*514f4c20SAndrew Rist 22*514f4c20SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir //------------------------------------------------------------------------ 25cdf0e10cSrcweir //------------------------------------------------------------------------ 26cdf0e10cSrcweir 27cdf0e10cSrcweir #ifndef _OSL_CONDITION_CONST_H_ 28cdf0e10cSrcweir #define _OSL_CONDITION_CONST_H_ 29cdf0e10cSrcweir 30cdf0e10cSrcweir //------------------------------------------------------------------------ 31cdf0e10cSrcweir //------------------------------------------------------------------------ 32cdf0e10cSrcweir 33cdf0e10cSrcweir #include <sal/types.h> 34cdf0e10cSrcweir #include <rtl/ustring.hxx> 35cdf0e10cSrcweir 36cdf0e10cSrcweir #ifndef _OSL_THREAD_HXX_ 37cdf0e10cSrcweir #include <osl/thread.hxx> 38cdf0e10cSrcweir #endif 39cdf0e10cSrcweir #include <osl/mutex.hxx> 40cdf0e10cSrcweir #include <osl/pipe.hxx> 41cdf0e10cSrcweir 42cdf0e10cSrcweir #ifndef _OSL_SEMAPHOR_HXX_ 43cdf0e10cSrcweir #include <osl/semaphor.hxx> 44cdf0e10cSrcweir #endif 45cdf0e10cSrcweir 46cdf0e10cSrcweir #ifndef _OSL_CONDITION_HXX_ 47cdf0e10cSrcweir #include <osl/conditn.hxx> 48cdf0e10cSrcweir #endif 49cdf0e10cSrcweir #include <osl/time.h> 50cdf0e10cSrcweir 51cdf0e10cSrcweir #ifdef UNX 52cdf0e10cSrcweir #include <unistd.h> 53cdf0e10cSrcweir #endif 54cdf0e10cSrcweir 55cdf0e10cSrcweir #include <testshl/simpleheader.hxx> 56cdf0e10cSrcweir 57cdf0e10cSrcweir #define OSLTEST_DECLARE_USTRING( str_name, str_value ) \ 58cdf0e10cSrcweir ::rtl::OUString a##str_name = rtl::OUString::createFromAscii( str_value ) 59cdf0e10cSrcweir 60cdf0e10cSrcweir //------------------------------------------------------------------------ 61cdf0e10cSrcweir // condition names 62cdf0e10cSrcweir //------------------------------------------------------------------------ 63cdf0e10cSrcweir OSLTEST_DECLARE_USTRING( TestCon, "testcondition" ); 64cdf0e10cSrcweir 65cdf0e10cSrcweir const char pTestString[17] = "Sun Microsystems"; 66cdf0e10cSrcweir 67cdf0e10cSrcweir 68cdf0e10cSrcweir #endif /* _OSL_CONDITION_CONST_H_ */ 69