include/vcl/PrinterSupport.hxx | 34 ++++++++++++++++++++++++++++++++++ include/vcl/print.hxx | 10 +--------- 2 files changed, 35 insertions(+), 9 deletions(-)
New commits: commit a35c18aeff3b1d8f270db7e094850fb8ba1ab84a Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Fri May 29 17:36:21 2020 +1000 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Jun 15 12:21:07 2020 +0200 vcl: split out PrinterSupport to own header Change-Id: If01ca5f43262d66494e0052f5530c8459f157323 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96250 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/include/vcl/PrinterSupport.hxx b/include/vcl/PrinterSupport.hxx new file mode 100644 index 000000000000..bde01fa19403 --- /dev/null +++ b/include/vcl/PrinterSupport.hxx @@ -0,0 +1,34 @@ +/* -*- 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_PRINTERSUPPORT_HXX +#define INCLUDED_VCL_PRINTERSUPPORT_HXX + +enum class PrinterSupport +{ + SetOrientation, + SetPaperSize, + SetPaper, + CollateCopy, + SetupDialog +}; + +#endif // INCLUDED_VCL_PRINTERSUPPORT_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 2e72240d42c0..e17e5e1dcc6d 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -28,6 +28,7 @@ #include <vcl/dllapi.h> #include <vcl/outdev.hxx> #include <vcl/prntypes.hxx> +#include <vcl/PrinterSupport.hxx> #include <vcl/jobset.hxx> #include <com/sun/star/beans/PropertyValue.hpp> @@ -51,15 +52,6 @@ namespace vcl { namespace weld { class Window; } -enum class PrinterSupport -{ - SetOrientation, - SetPaperSize, SetPaper, - CollateCopy, - SetupDialog -}; - - class UNLESS_MERGELIBS(VCL_DLLPUBLIC) QueueInfo { friend class Printer; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits