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 .
19 #include <vcl/svapp.hxx>
21 #include "quartz/salgdi.h"
22 #include "headless/svpinst.hxx"
23 #include "unx/fontmanager.hxx"
24 #include "unx/gendata.hxx"
26 std::unique_ptr
<SalPrinter
> SvpSalInstance::CreatePrinter( SalInfoPrinter
* /* pInfoPrinter */ )
31 OUString
SvpSalInstance::GetDefaultPrinter()
36 std::unique_ptr
<GenPspGraphics
> SvpSalInstance::CreatePrintGraphics()
41 void SvpSalInstance::PostPrintersChanged()
45 SalInfoPrinter
* SvpSalInstance::CreateInfoPrinter( SalPrinterQueueInfo
* /* pQueueInfo */,
46 ImplJobSetup
* /* pJobSetup */ )
51 void SvpSalInstance::DestroyInfoPrinter( SalInfoPrinter
* pPrinter
)
56 void SvpSalInstance::GetPrinterQueueInfo( ImplPrnQueueList
* /* pList */ )
60 void SvpSalInstance::GetPrinterQueueState( SalPrinterQueueInfo
* /* pInfo */ )
64 std::unique_ptr
<SalPrinter
> SalGenericInstance::CreatePrinter( SalInfoPrinter
* /* pInfoPrinter */ )
69 OUString
SalGenericInstance::GetDefaultPrinter()
74 void SalGenericInstance::PostPrintersChanged()
78 SalInfoPrinter
* SalGenericInstance::CreateInfoPrinter( SalPrinterQueueInfo
* /* pQueueInfo */,
79 ImplJobSetup
* /* pJobSetup */ )
84 void SalGenericInstance::DestroyInfoPrinter( SalInfoPrinter
* pPrinter
)
89 void SalGenericInstance::GetPrinterQueueInfo( ImplPrnQueueList
* /* pList */ )
93 void SalGenericInstance::GetPrinterQueueState( SalPrinterQueueInfo
* /* pInfo */ )
97 void SalGenericInstance::updatePrinterUpdate()
101 void SalGenericInstance::jobStartedPrinterUpdate()
105 void SalGenericInstance::jobEndedPrinterUpdate()
111 bool AquaGraphicsBackend::drawNativeControl(ControlType
/* nType */,
112 ControlPart
/* nPart */,
113 const tools::Rectangle
& /* rControlRegion */,
114 ControlState
/* nState */,
115 const ImplControlValue
& /* aValue */)
120 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */