1514f4c20SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3514f4c20SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4514f4c20SAndrew Rist * or more contributor license agreements. See the NOTICE file 5514f4c20SAndrew Rist * distributed with this work for additional information 6514f4c20SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7514f4c20SAndrew Rist * to you under the Apache License, Version 2.0 (the 8514f4c20SAndrew Rist * "License"); you may not use this file except in compliance 9514f4c20SAndrew Rist * with the License. You may obtain a copy of the License at 10514f4c20SAndrew Rist * 11514f4c20SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12514f4c20SAndrew Rist * 13514f4c20SAndrew Rist * Unless required by applicable law or agreed to in writing, 14514f4c20SAndrew Rist * software distributed under the License is distributed on an 15514f4c20SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16514f4c20SAndrew Rist * KIND, either express or implied. See the License for the 17514f4c20SAndrew Rist * specific language governing permissions and limitations 18514f4c20SAndrew Rist * under the License. 19514f4c20SAndrew Rist * 20514f4c20SAndrew Rist *************************************************************/ 21514f4c20SAndrew Rist 22514f4c20SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _OSL_MODULE_CONST_H_ 25cdf0e10cSrcweir #define _OSL_MODULE_CONST_H_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir #include <sal/types.h> 29cdf0e10cSrcweir #include <rtl/ustring.hxx> 30cdf0e10cSrcweir #include <osl/module.hxx> 31cdf0e10cSrcweir #include <osl/file.hxx> 32cdf0e10cSrcweir 33cdf0e10cSrcweir 34cdf0e10cSrcweir #if ( defined UNX ) || ( defined OS2 ) //Unix 35cdf0e10cSrcweir # include <unistd.h> 36cdf0e10cSrcweir #endif 37cdf0e10cSrcweir #if ( defined WNT ) // Windows 38cdf0e10cSrcweir # include <io.h> 39cdf0e10cSrcweir #endif 40cdf0e10cSrcweir 41cdf0e10cSrcweir # define FILE_PREFIX "file:///" 42cdf0e10cSrcweir 43*86e1cf34SPedro Giffuni //Korea characters 44cdf0e10cSrcweir ::rtl::OUString aKname( 45cdf0e10cSrcweir RTL_CONSTASCII_STRINGPARAM( 46cdf0e10cSrcweir "/\xEC\x95\x88\xEB\x85\x95\xED\x95\x98\xEC\x84\xB8\xEC\x9A\x94"), 47cdf0e10cSrcweir RTL_TEXTENCODING_ISO_8859_1); 48cdf0e10cSrcweir // zero-extend the individual byte-sized characters one-to-one to individual 49cdf0e10cSrcweir // sal_Unicode-sized characters; not sure whether this is what was 50cdf0e10cSrcweir // intended... 51cdf0e10cSrcweir 52cdf0e10cSrcweir //------------------------------------------------------------------------ 53cdf0e10cSrcweir // function pointer type. 54cdf0e10cSrcweir //------------------------------------------------------------------------ 55cdf0e10cSrcweir typedef sal_Bool (* FuncPtr )( sal_Bool ); 56cdf0e10cSrcweir 57cdf0e10cSrcweir 58cdf0e10cSrcweir #endif /* _OSL_MODULE_CONST_H_ */ 59