Bug 1652470 [wpt PR 24579] - Update mozrunner to 8.0.0, a=testonly
[gecko.git] / widget / nsPrinter.h
blobc98130a4abc4f8373210195681496d22c6646ea1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsPrinter_h__
7 #define nsPrinter_h__
9 #include "nsIPaper.h"
10 #include "nsIPrinter.h"
11 #include "nsISupportsImpl.h"
12 #include "nsString.h"
14 class nsPrinter final : public nsIPrinter {
15 public:
16 NS_DECL_ISUPPORTS
17 NS_DECL_NSIPRINTER
18 nsPrinter() = delete;
19 nsPrinter(const nsAString& aName,
20 const nsTArray<RefPtr<nsIPaper>>& aPaperList);
22 private:
23 ~nsPrinter() = default;
25 nsString mName;
26 nsTArray<RefPtr<nsIPaper>> mPaperList;
29 #endif /* nsPrinter_h__ */