xref: /trunk/main/soltools/testSHL/inc/tutil.hxx (revision 38268e38)
1*38268e38SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*38268e38SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*38268e38SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*38268e38SAndrew Rist  * distributed with this work for additional information
6*38268e38SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*38268e38SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*38268e38SAndrew Rist  * "License"); you may not use this file except in compliance
9*38268e38SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*38268e38SAndrew Rist  *
11*38268e38SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*38268e38SAndrew Rist  *
13*38268e38SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*38268e38SAndrew Rist  * software distributed under the License is distributed on an
15*38268e38SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*38268e38SAndrew Rist  * KIND, either express or implied.  See the License for the
17*38268e38SAndrew Rist  * specific language governing permissions and limitations
18*38268e38SAndrew Rist  * under the License.
19*38268e38SAndrew Rist  *
20*38268e38SAndrew Rist  *************************************************************/
21*38268e38SAndrew Rist 
22*38268e38SAndrew Rist 
23cdf0e10cSrcweir #ifndef _SOLTOOLS_TESTSHL_TUTIL_HXX_
24cdf0e10cSrcweir #define _SOLTOOLS_TESTSHL_TUTIL_HXX__
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include    <osl/file.hxx>
27cdf0e10cSrcweir 
28cdf0e10cSrcweir using namespace std;
29cdf0e10cSrcweir 
30cdf0e10cSrcweir #include <vector>
31cdf0e10cSrcweir 
32cdf0e10cSrcweir // <namespace_tstutl>
33cdf0e10cSrcweir namespace tstutl {
34cdf0e10cSrcweir 
35cdf0e10cSrcweir sal_uInt32 getEntriesFromFile( sal_Char* fName, vector< sal_Char* >& entries );
36cdf0e10cSrcweir ::rtl::OUString cnvrtPth( ::rtl::OString sysPth );
37cdf0e10cSrcweir 
38cdf0e10cSrcweir // string copy, cat, len methods
39cdf0e10cSrcweir sal_Char* cpy( sal_Char** dest, const sal_Char* src );
40cdf0e10cSrcweir sal_Char* cat( const sal_Char* str1, const sal_Char* str2 );
41cdf0e10cSrcweir sal_uInt32 ln( const sal_Char* str );
42cdf0e10cSrcweir 
43cdf0e10cSrcweir } // </namespace_tstutl>
44cdf0e10cSrcweir 
45cdf0e10cSrcweir #endif
46