Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #ifndef _SVP_SVPDUMMIES_HXX
21 :
22 : #include <vcl/sysdata.hxx>
23 : #include <generic/gensys.h>
24 : #include <salobj.hxx>
25 : #include <salimestatus.hxx>
26 : #include <salsys.hxx>
27 :
28 : class SalGraphics;
29 :
30 : class SvpSalObject : public SalObject
31 : {
32 : public:
33 : SystemChildData m_aSystemChildData;
34 :
35 : SvpSalObject();
36 : virtual ~SvpSalObject();
37 :
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();
44 :
45 : virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
46 : virtual void Show( sal_Bool bVisible );
47 :
48 : virtual const SystemEnvData* GetSystemData() const;
49 : };
50 :
51 : class SvpImeStatus : public SalI18NImeStatus
52 : {
53 : public:
54 19 : SvpImeStatus() {}
55 : virtual ~SvpImeStatus();
56 :
57 : virtual bool canToggle();
58 : virtual void toggle();
59 : };
60 :
61 : class SvpSalSystem : public SalGenericSystem
62 : {
63 : public:
64 3 : SvpSalSystem() {}
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 );
71 :
72 : virtual int ShowNativeDialog( const rtl::OUString& rTitle,
73 : const rtl::OUString& rMessage,
74 : const std::list< rtl::OUString >& rButtons,
75 : int nDefButton );
76 : };
77 :
78 :
79 : #endif // _SVP_SVPDUMMIES_H
80 :
81 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|