LCOV - code coverage report
Current view: top level - libreoffice/vcl/inc/unx - salinst.h (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          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 _SV_SALINST_H
      21             : #define _SV_SALINST_H
      22             : 
      23             : #include <tools/solar.h>
      24             : #include <osl/thread.hxx>
      25             : #include <vclpluginapi.h>
      26             : #include <salinst.hxx>
      27             : #include <vcl/solarmutex.hxx>
      28             : #include "generic/geninst.h"
      29             : 
      30             : 
      31             : // -=-= SalInstanceData =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      32             : class SalXLib;
      33             : class VCLPLUG_GEN_PUBLIC X11SalInstance : public SalGenericInstance
      34             : {
      35             : protected:
      36             :     SalXLib *mpXLib;
      37             : public:
      38           0 :     X11SalInstance( SalYieldMutex* pMutex ) : SalGenericInstance( pMutex ), mpXLib(NULL) {}
      39             :     virtual ~X11SalInstance();
      40             : 
      41             :     virtual SalFrame*           CreateChildFrame( SystemParentData* pParent, sal_uIntPtr nStyle );
      42             :     virtual SalFrame*           CreateFrame( SalFrame* pParent, sal_uIntPtr nStyle );
      43             :     virtual void                DestroyFrame( SalFrame* pFrame );
      44             : 
      45             :     virtual SalObject*          CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
      46             :     virtual void                DestroyObject( SalObject* pObject );
      47             : 
      48             :     virtual SalVirtualDevice*   CreateVirtualDevice( SalGraphics* pGraphics,
      49             :                                                      long nDX, long nDY,
      50             :                                                      sal_uInt16 nBitCount, const SystemGraphicsData *pData = NULL );
      51             :     virtual void                DestroyVirtualDevice( SalVirtualDevice* pDevice );
      52             :     virtual void                PostPrintersChanged();
      53             :     virtual GenPspGraphics     *CreatePrintGraphics();
      54             : 
      55             :     virtual SalTimer*           CreateSalTimer();
      56             :     virtual SalI18NImeStatus*   CreateI18NImeStatus();
      57             :     virtual SalSystem*          CreateSalSystem();
      58             :     virtual SalBitmap*          CreateSalBitmap();
      59             :     virtual SalSession*         CreateSalSession();
      60             : 
      61             :     virtual void                Yield( bool bWait, bool bHandleAllCurrentEvents );
      62             :     virtual bool                AnyInput( sal_uInt16 nType );
      63             : 
      64             :     virtual void*               GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes );
      65             :     void                        FillFontPathList( std::list< rtl::OString >& o_rFontPaths );
      66           0 :     void                        SetLib( SalXLib *pXLib ) { mpXLib = pXLib; }
      67             : 
      68             :     // dtrans implementation
      69             :     virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface >
      70             :         CreateClipboard( const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& i_rArguments );
      71             :     virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > CreateDragSource();
      72             :     virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > CreateDropTarget();
      73             :     virtual void            AddToRecentDocumentList(const rtl::OUString& rFileUrl, const rtl::OUString& rMimeType);
      74             : };
      75             : 
      76             : #endif // _SV_SALINST_H
      77             : 
      78             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10