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/. */
6 #ifndef nsPrintSession_h__
7 #define nsPrintSession_h__
9 #include "nsIPrintSession.h"
11 #include "mozilla/RefPtr.h"
12 #include "nsWeakReference.h"
16 class RemotePrintJobChild
;
18 } // namespace mozilla
20 //*****************************************************************************
22 //*****************************************************************************
24 class nsPrintSession
: public nsIPrintSession
, public nsSupportsWeakReference
{
25 virtual ~nsPrintSession();
29 NS_DECL_NSIPRINTSESSION
33 virtual nsresult
Init();
36 RefPtr
<mozilla::layout::RemotePrintJobChild
> mRemotePrintJob
;
39 #endif // nsPrintSession_h__