xref: /trunk/main/sal/qa/osl/module/osl_Module_Const.h (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef _OSL_MODULE_CONST_H_
29 #define _OSL_MODULE_CONST_H_
30 
31 
32 #include <sal/types.h>
33 #include <rtl/ustring.hxx>
34 #include <osl/module.hxx>
35 #include <osl/file.hxx>
36 
37 #include <testshl/simpleheader.hxx>
38 
39 #if ( defined UNX ) || ( defined OS2 )  //Unix
40 #	include <unistd.h>
41 #endif
42 #if ( defined WNT )                     // Windows
43 #include <tools/prewin.h>
44 // #	include <windows.h>
45 #	include <io.h>
46 #include <tools/postwin.h>
47 #endif
48 
49 #	define FILE_PREFIX          "file:///"
50 
51 //Korea charactors
52 ::rtl::OUString aKname(
53     RTL_CONSTASCII_STRINGPARAM(
54         "/\xEC\x95\x88\xEB\x85\x95\xED\x95\x98\xEC\x84\xB8\xEC\x9A\x94"),
55     RTL_TEXTENCODING_ISO_8859_1);
56     // zero-extend the individual byte-sized characters one-to-one to individual
57     // sal_Unicode-sized characters; not sure whether this is what was
58     // intended...
59 
60 //------------------------------------------------------------------------
61 // function pointer type.
62 //------------------------------------------------------------------------
63 typedef sal_Bool (* FuncPtr )( sal_Bool );
64 
65 
66 #endif /* _OSL_MODULE_CONST_H_ */
67