/src/mozilla-central/toolkit/components/printingui/ipc/PrintSettingsDialogChild.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | | |
5 | | #ifndef mozilla_embedding_PrintSettingsDialogChild_h |
6 | | #define mozilla_embedding_PrintSettingsDialogChild_h |
7 | | |
8 | | #include "mozilla/embedding/PPrintSettingsDialogChild.h" |
9 | | namespace mozilla { |
10 | | namespace embedding { |
11 | | |
12 | | class PrintSettingsDialogChild final : public PPrintSettingsDialogChild |
13 | | { |
14 | | NS_INLINE_DECL_REFCOUNTING(PrintSettingsDialogChild) |
15 | | |
16 | | public: |
17 | | MOZ_IMPLICIT PrintSettingsDialogChild(); |
18 | | |
19 | | virtual mozilla::ipc::IPCResult Recv__delete__(const PrintDataOrNSResult& aData) override; |
20 | | |
21 | 0 | bool returned() { return mReturned; }; |
22 | 0 | nsresult result() { return mResult; }; |
23 | 0 | PrintData data() { return mData; }; |
24 | | |
25 | | private: |
26 | | virtual ~PrintSettingsDialogChild(); |
27 | | bool mReturned; |
28 | | nsresult mResult; |
29 | | PrintData mData; |
30 | | }; |
31 | | |
32 | | } // namespace embedding |
33 | | } // namespace mozilla |
34 | | |
35 | | #endif |