1*0d63794cSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*0d63794cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0d63794cSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0d63794cSAndrew Rist * distributed with this work for additional information 6*0d63794cSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0d63794cSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0d63794cSAndrew Rist * "License"); you may not use this file except in compliance 9*0d63794cSAndrew Rist * with the License. You may obtain a copy of the License at 10*0d63794cSAndrew Rist * 11*0d63794cSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0d63794cSAndrew Rist * 13*0d63794cSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0d63794cSAndrew Rist * software distributed under the License is distributed on an 15*0d63794cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0d63794cSAndrew Rist * KIND, either express or implied. See the License for the 17*0d63794cSAndrew Rist * specific language governing permissions and limitations 18*0d63794cSAndrew Rist * under the License. 19*0d63794cSAndrew Rist * 20*0d63794cSAndrew Rist *************************************************************/ 21*0d63794cSAndrew Rist 22*0d63794cSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _SVP_SVPDUMMIES_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <vcl/sysdata.hxx> 27cdf0e10cSrcweir 28cdf0e10cSrcweir #include <salobj.hxx> 29cdf0e10cSrcweir #include <salimestatus.hxx> 30cdf0e10cSrcweir #include <salsys.hxx> 31cdf0e10cSrcweir 32cdf0e10cSrcweir class SalGraphics; 33cdf0e10cSrcweir 34cdf0e10cSrcweir class SvpSalObject : public SalObject 35cdf0e10cSrcweir { 36cdf0e10cSrcweir public: 37cdf0e10cSrcweir SystemChildData m_aSystemChildData; 38cdf0e10cSrcweir 39cdf0e10cSrcweir SvpSalObject(); 40cdf0e10cSrcweir virtual ~SvpSalObject(); 41cdf0e10cSrcweir 42cdf0e10cSrcweir // overload all pure virtual methods 43cdf0e10cSrcweir virtual void ResetClipRegion(); 44cdf0e10cSrcweir virtual sal_uInt16 GetClipRegionType(); 45cdf0e10cSrcweir virtual void BeginSetClipRegion( sal_uLong nRects ); 46cdf0e10cSrcweir virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 47cdf0e10cSrcweir virtual void EndSetClipRegion(); 48cdf0e10cSrcweir 49cdf0e10cSrcweir virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight ); 50cdf0e10cSrcweir virtual void Show( sal_Bool bVisible ); 51cdf0e10cSrcweir virtual void Enable( sal_Bool nEnable ); 52cdf0e10cSrcweir virtual void GrabFocus(); 53cdf0e10cSrcweir 54cdf0e10cSrcweir virtual void SetBackground(); 55cdf0e10cSrcweir virtual void SetBackground( SalColor nSalColor ); 56cdf0e10cSrcweir 57cdf0e10cSrcweir virtual const SystemEnvData* GetSystemData() const; 58cdf0e10cSrcweir 59cdf0e10cSrcweir virtual void InterceptChildWindowKeyDown( sal_Bool bIntercept ); 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir class SvpImeStatus : public SalI18NImeStatus 63cdf0e10cSrcweir { 64cdf0e10cSrcweir public: SvpImeStatus()65cdf0e10cSrcweir SvpImeStatus() {} 66cdf0e10cSrcweir virtual ~SvpImeStatus(); 67cdf0e10cSrcweir 68cdf0e10cSrcweir virtual bool canToggle(); 69cdf0e10cSrcweir virtual void toggle(); 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir 72cdf0e10cSrcweir class SvpSalSystem : public SalSystem 73cdf0e10cSrcweir { 74cdf0e10cSrcweir public: SvpSalSystem()75cdf0e10cSrcweir SvpSalSystem() {} 76cdf0e10cSrcweir virtual ~SvpSalSystem(); 77cdf0e10cSrcweir // get info about the display 78cdf0e10cSrcweir virtual unsigned int GetDisplayScreenCount(); 79cdf0e10cSrcweir virtual bool IsMultiDisplay(); 80cdf0e10cSrcweir virtual unsigned int GetDefaultDisplayNumber(); 81cdf0e10cSrcweir virtual Rectangle GetDisplayScreenPosSizePixel( unsigned int nScreen ); 82cdf0e10cSrcweir virtual Rectangle GetDisplayWorkAreaPosSizePixel( unsigned int nScreen ); 83cdf0e10cSrcweir virtual rtl::OUString GetScreenName( unsigned int nScreen ); 84cdf0e10cSrcweir 85cdf0e10cSrcweir 86cdf0e10cSrcweir virtual int ShowNativeMessageBox( const String& rTitle, 87cdf0e10cSrcweir const String& rMessage, 88cdf0e10cSrcweir int nButtonCombination, 89cdf0e10cSrcweir int nDefaultButton); 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir 92cdf0e10cSrcweir 93cdf0e10cSrcweir #endif // _SVP_SVPDUMMIES_H 94