xref: /aoo42x/main/vcl/inc/unx/dtint.hxx (revision 161f4cd1)
1*161f4cd1SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*161f4cd1SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*161f4cd1SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*161f4cd1SAndrew Rist  * distributed with this work for additional information
6*161f4cd1SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*161f4cd1SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*161f4cd1SAndrew Rist  * "License"); you may not use this file except in compliance
9*161f4cd1SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*161f4cd1SAndrew Rist  *
11*161f4cd1SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*161f4cd1SAndrew Rist  *
13*161f4cd1SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*161f4cd1SAndrew Rist  * software distributed under the License is distributed on an
15*161f4cd1SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*161f4cd1SAndrew Rist  * KIND, either express or implied.  See the License for the
17*161f4cd1SAndrew Rist  * specific language governing permissions and limitations
18*161f4cd1SAndrew Rist  * under the License.
19*161f4cd1SAndrew Rist  *
20*161f4cd1SAndrew Rist  *************************************************************/
21*161f4cd1SAndrew Rist 
22*161f4cd1SAndrew Rist 
23cdf0e10cSrcweir #ifndef _SV_DTINT_HXX
24cdf0e10cSrcweir #define _SV_DTINT_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <tools/link.hxx>
27cdf0e10cSrcweir #include <tools/string.hxx>
28cdf0e10cSrcweir #include <tools/color.hxx>
29cdf0e10cSrcweir #include <vcl/font.hxx>
30cdf0e10cSrcweir #include "svunx.h"
31cdf0e10cSrcweir 
32cdf0e10cSrcweir class SalBitmap;
33cdf0e10cSrcweir class SalDisplay;
34cdf0e10cSrcweir class AllSettings;
35cdf0e10cSrcweir 
36cdf0e10cSrcweir enum DtType {
37cdf0e10cSrcweir 	DtGeneric,
38cdf0e10cSrcweir 	DtCDE
39cdf0e10cSrcweir };
40cdf0e10cSrcweir 
41cdf0e10cSrcweir class DtIntegrator
42cdf0e10cSrcweir {
43cdf0e10cSrcweir protected:
44cdf0e10cSrcweir 	DtType				meType;
45cdf0e10cSrcweir 	Display*			mpDisplay;
46cdf0e10cSrcweir 	SalDisplay*			mpSalDisplay;
47cdf0e10cSrcweir     int					mnSystemLookCommandProcess;
48cdf0e10cSrcweir 
49cdf0e10cSrcweir 
50cdf0e10cSrcweir 	DtIntegrator();
51cdf0e10cSrcweir 
52cdf0e10cSrcweir 	static String			aHomeDir;
53cdf0e10cSrcweir 
54cdf0e10cSrcweir public:
55cdf0e10cSrcweir 	static DtIntegrator* CreateDtIntegrator();
56cdf0e10cSrcweir 
57cdf0e10cSrcweir 	virtual ~DtIntegrator();
58cdf0e10cSrcweir 
59cdf0e10cSrcweir 	// SystemLook
60cdf0e10cSrcweir 	virtual void GetSystemLook( AllSettings& rSettings );
61cdf0e10cSrcweir 
GetDtType()62cdf0e10cSrcweir 	DtType			GetDtType() { return meType; }
GetSalDisplay()63cdf0e10cSrcweir 	SalDisplay*		GetSalDisplay() { return mpSalDisplay; }
GetDisplay()64cdf0e10cSrcweir 	Display*		GetDisplay() { return mpDisplay; }
65cdf0e10cSrcweir };
66cdf0e10cSrcweir 
67cdf0e10cSrcweir #endif
68