[Libreoffice-commits] core.git: include/vcl
Chris Sherlock (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 15 10:21:40 UTC 2020
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.sherlock79 at gmail.com>
AuthorDate: Fri May 29 17:36:21 2020 +1000
Commit: Tomaž Vajngerl <quikee at 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 <quikee at 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;
More information about the Libreoffice-commits
mailing list