office-gobmx/include/vcl/jobset.hxx
Gabor Kelemen a96e6e8062 tdf#42949 Fix IWYU warnings in include/vcl/[i-m]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: If1b2e04872eb0dd6725802c1709a9085f4cd8c91
Reviewed-on: https://gerrit.libreoffice.org/64141
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-29 13:17:17 +01:00

63 lines
2.1 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_JOBSET_HXX
#define INCLUDED_VCL_JOBSET_HXX
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
#include <o3tl/cow_wrapper.hxx>
class SvStream;
class ImplJobSetup;
class VCL_DLLPUBLIC JobSetup
{
friend class Printer;
public:
JobSetup();
JobSetup( const JobSetup& rJob );
~JobSetup();
JobSetup& operator=( const JobSetup& rJob );
JobSetup& operator=( JobSetup&& rJob );
bool operator==( const JobSetup& rJobSetup ) const;
bool operator!=( const JobSetup& rJobSetup ) const
{ return !(JobSetup::operator==( rJobSetup )); }
SAL_DLLPRIVATE ImplJobSetup& ImplGetData();
SAL_DLLPRIVATE const ImplJobSetup& ImplGetConstData() const;
OUString const & GetPrinterName() const;
bool IsDefault() const;
friend VCL_DLLPUBLIC SvStream& ReadJobSetup( SvStream& rIStream, JobSetup& rJobSetup );
friend VCL_DLLPUBLIC SvStream& WriteJobSetup( SvStream& rOStream, const JobSetup& rJobSetup );
typedef o3tl::cow_wrapper< ImplJobSetup > ImplType;
private:
ImplType mpData;
};
#endif // INCLUDED_VCL_JOBSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */