LCOV - code coverage report
Current view: top level - vcl/inc/unx/gtk - gtkprn.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 1 2 50.0 %
Date: 2015-06-13 12:38:46 Functions: 3 5 60.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             : 
      10             : #ifndef INCLUDED_VCL_INC_UNX_GTK_GTKPRN_HXX
      11             : #define INCLUDED_VCL_INC_UNX_GTK_GTKPRN_HXX
      12             : 
      13             : #include "generic/genprn.h"
      14             : 
      15             : #include <memory>
      16             : 
      17             : struct GtkSalPrinter_Impl;
      18             : 
      19           0 : class VCL_DLLPUBLIC GtkSalPrinter : public PspSalPrinter
      20             : {
      21             : public:
      22             :     GtkSalPrinter(SalInfoPrinter* i_pInfoPrinter);
      23             : 
      24             :     using PspSalPrinter::StartJob;
      25             :     virtual bool StartJob(
      26             :             const OUString* i_pFileName, const OUString& i_rJobName,
      27             :             const OUString& i_rAppName, ImplJobSetup* io_pSetupData,
      28             :             vcl::PrinterController& io_rController) SAL_OVERRIDE;
      29             :     virtual bool EndJob() SAL_OVERRIDE;
      30             : 
      31             : private:
      32             :     bool impl_doJob(
      33             :             const OUString* i_pFileName, const OUString& i_rJobName,
      34             :             const OUString& i_rAppName, ImplJobSetup* io_pSetupData,
      35             :             int i_nCopies, bool i_bCollate, vcl::PrinterController& io_rController);
      36             : 
      37             : private:
      38             :     std::unique_ptr<GtkSalPrinter_Impl> m_xImpl;
      39             : };
      40             : 
      41           4 : class VCL_DLLPUBLIC GtkSalInfoPrinter : public PspSalInfoPrinter
      42             : {
      43             : public:
      44             :     sal_uLong GetCapabilities(const ImplJobSetup* i_pSetupData, PrinterCapType i_nType) SAL_OVERRIDE;
      45             : };
      46             : 
      47             : #endif // INCLUDED_VCL_INC_UNX_GTK_GTKPRN_HXX
      48             : 
      49             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11