bump product version to 6.4.0.3
[LibreOffice.git] / vcl / ios / dummies.cxx
blobefc0daae0f86cf36a798db16c4c3631dd891db4b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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>
20 #include "salprn.hxx"
21 #include "quartz/salgdi.h"
22 #include "headless/svpinst.hxx"
23 #include "unx/fontmanager.hxx"
24 #include "unx/gendata.hxx"
26 class GlyphCache
30 std::unique_ptr<SalPrinter> SvpSalInstance::CreatePrinter( SalInfoPrinter* /* pInfoPrinter */ )
32 return nullptr;
35 OUString SvpSalInstance::GetDefaultPrinter()
37 return OUString();
40 std::unique_ptr<GenPspGraphics> SvpSalInstance::CreatePrintGraphics()
42 return nullptr;
45 void SvpSalInstance::PostPrintersChanged()
49 SalInfoPrinter* SvpSalInstance::CreateInfoPrinter( SalPrinterQueueInfo* /* pQueueInfo */,
50 ImplJobSetup* /* pJobSetup */ )
52 return NULL;
55 void SvpSalInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter )
57 delete pPrinter;
60 void SvpSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* /* pList */ )
64 void SvpSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* /* pInfo */ )
68 std::unique_ptr<SalPrinter> SalGenericInstance::CreatePrinter( SalInfoPrinter* /* pInfoPrinter */ )
70 return nullptr;
73 OUString SalGenericInstance::GetDefaultPrinter()
75 return OUString();
78 void SalGenericInstance::PostPrintersChanged()
82 SalInfoPrinter* SalGenericInstance::CreateInfoPrinter( SalPrinterQueueInfo* /* pQueueInfo */,
83 ImplJobSetup* /* pJobSetup */ )
85 return NULL;
88 void SalGenericInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter )
90 delete pPrinter;
93 void SalGenericInstance::GetPrinterQueueInfo( ImplPrnQueueList* /* pList */ )
97 void SalGenericInstance::GetPrinterQueueState( SalPrinterQueueInfo* /* pInfo */ )
101 void SalGenericInstance::updatePrinterUpdate()
105 void SalGenericInstance::jobStartedPrinterUpdate()
109 void SalGenericInstance::jobEndedPrinterUpdate()
113 bool AquaSalGraphics::drawEPS( long, long, long, long, void*, sal_uInt32 )
115 return false;
118 using namespace psp;
120 GenericUnixSalData::GenericUnixSalData(GenericUnixSalDataType const t, SalInstance *const pInstance)
121 : m_eType(t)
122 , m_pDisplay(nullptr)
123 , m_pGlyphCache(new GlyphCache)
124 , m_pPrintFontManager(nullptr)
126 m_pInstance = pInstance;
127 SetSalData(this);
130 GenericUnixSalData::~GenericUnixSalData()
134 PrintFontManager::~PrintFontManager()
138 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */