/src/mozilla-central/toolkit/components/printingui/nsPrintProgressParams.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 2; 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/. */ |
5 | | |
6 | | #include "nsPrintProgressParams.h" |
7 | | #include "nsReadableUtils.h" |
8 | | |
9 | | |
10 | | NS_IMPL_ISUPPORTS(nsPrintProgressParams, nsIPrintProgressParams) |
11 | | |
12 | | nsPrintProgressParams::nsPrintProgressParams() |
13 | 0 | { |
14 | 0 | } |
15 | | |
16 | | nsPrintProgressParams::~nsPrintProgressParams() |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | | NS_IMETHODIMP |
21 | | nsPrintProgressParams::GetDocTitle(nsAString& aDocTitle) |
22 | 0 | { |
23 | 0 | aDocTitle = mDocTitle; |
24 | 0 | return NS_OK; |
25 | 0 | } |
26 | | |
27 | | NS_IMETHODIMP |
28 | | nsPrintProgressParams::SetDocTitle(const nsAString& aDocTitle) |
29 | 0 | { |
30 | 0 | mDocTitle = aDocTitle; |
31 | 0 | return NS_OK; |
32 | 0 | } |
33 | | |
34 | | NS_IMETHODIMP |
35 | | nsPrintProgressParams::GetDocURL(nsAString& aDocURL) |
36 | 0 | { |
37 | 0 | aDocURL = mDocURL; |
38 | 0 | return NS_OK; |
39 | 0 | } |
40 | | |
41 | | NS_IMETHODIMP |
42 | | nsPrintProgressParams::SetDocURL(const nsAString& aDocURL) |
43 | 0 | { |
44 | 0 | mDocURL = aDocURL; |
45 | 0 | return NS_OK; |
46 | 0 | } |
47 | | |