escape url passed to gstreamer
[LibreOffice.git] / vcl / ios / dummies.cxx
blobad40587914a1d7c01ccc16c2e843f8eb5d387150
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 FreetypeManager
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 using namespace psp;
115 GenericUnixSalData::GenericUnixSalData(SalInstance *const pInstance)
116 : m_pDisplay(nullptr)
117 , m_pFreetypeManager(new FreetypeManager)
118 , m_pPrintFontManager(nullptr)
120 m_pInstance = pInstance;
121 SetSalData(this);
124 GenericUnixSalData::~GenericUnixSalData()
128 PrintFontManager::~PrintFontManager()
132 bool AquaGraphicsBackend::drawNativeControl(ControlType /* nType */,
133 ControlPart /* nPart */,
134 const tools::Rectangle & /* rControlRegion */,
135 ControlState /* nState */,
136 const ImplControlValue & /* aValue */)
138 return false;
141 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */