1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: svpdummies.hxx,v $
10 * $Revision: 1.4.154.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SVP_SVPDUMMIES_HXX
33 #include <vcl/salobj.hxx>
34 #include <vcl/sysdata.hxx>
35 #include <vcl/salimestatus.hxx>
36 #include <vcl/salsys.hxx>
40 class SvpSalObject
: public SalObject
43 SystemChildData m_aSystemChildData
;
46 virtual ~SvpSalObject();
48 // overload all pure virtual methods
49 virtual void ResetClipRegion();
50 virtual USHORT
GetClipRegionType();
51 virtual void BeginSetClipRegion( ULONG nRects
);
52 virtual void UnionClipRegion( long nX
, long nY
, long nWidth
, long nHeight
);
53 virtual void EndSetClipRegion();
55 virtual void SetPosSize( long nX
, long nY
, long nWidth
, long nHeight
);
56 virtual void Show( BOOL bVisible
);
57 virtual void Enable( BOOL nEnable
);
58 virtual void GrabFocus();
60 virtual void SetBackground();
61 virtual void SetBackground( SalColor nSalColor
);
63 virtual const SystemEnvData
* GetSystemData() const;
66 class SvpImeStatus
: public SalI18NImeStatus
70 virtual ~SvpImeStatus();
72 virtual bool canToggle();
73 virtual void toggle();
76 class SvpSalSystem
: public SalSystem
80 virtual ~SvpSalSystem();
81 // get info about the display
82 virtual unsigned int GetDisplayScreenCount();
83 virtual bool IsMultiDisplay();
84 virtual unsigned int GetDefaultDisplayNumber();
85 virtual Rectangle
GetDisplayScreenPosSizePixel( unsigned int nScreen
);
86 virtual Rectangle
GetDisplayWorkAreaPosSizePixel( unsigned int nScreen
);
87 virtual rtl::OUString
GetScreenName( unsigned int nScreen
);
90 virtual int ShowNativeMessageBox( const String
& rTitle
,
91 const String
& rMessage
,
92 int nButtonCombination
,
97 #endif // _SVP_SVPDUMMIES_H