1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _SVP_SVPDUMMIES_HXX
22 #include <vcl/sysdata.hxx>
23 #include <generic/gensys.h>
25 #include <salimestatus.hxx>
30 class SvpSalObject
: public SalObject
33 SystemChildData m_aSystemChildData
;
36 virtual ~SvpSalObject();
38 // overload all pure virtual methods
39 virtual void ResetClipRegion();
40 virtual sal_uInt16
GetClipRegionType();
41 virtual void BeginSetClipRegion( sal_uLong nRects
);
42 virtual void UnionClipRegion( long nX
, long nY
, long nWidth
, long nHeight
);
43 virtual void EndSetClipRegion();
45 virtual void SetPosSize( long nX
, long nY
, long nWidth
, long nHeight
);
46 virtual void Show( sal_Bool bVisible
);
48 virtual const SystemEnvData
* GetSystemData() const;
51 class SvpImeStatus
: public SalI18NImeStatus
55 virtual ~SvpImeStatus();
57 virtual bool canToggle();
58 virtual void toggle();
61 class SvpSalSystem
: public SalGenericSystem
65 virtual ~SvpSalSystem();
66 // get info about the display
67 virtual unsigned int GetDisplayScreenCount();
68 virtual Rectangle
GetDisplayScreenPosSizePixel( unsigned int nScreen
);
69 virtual Rectangle
GetDisplayScreenWorkAreaPosSizePixel( unsigned int nScreen
);
70 virtual rtl::OUString
GetDisplayScreenName( unsigned int nScreen
);
72 virtual int ShowNativeDialog( const rtl::OUString
& rTitle
,
73 const rtl::OUString
& rMessage
,
74 const std::list
< rtl::OUString
>& rButtons
,
79 #endif // _SVP_SVPDUMMIES_H
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */