2006-02-07 01:12:54 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2006-02-07 01:12:54 +00:00
|
|
|
|
|
|
|
#ifndef nsPrintSession_h__
|
|
|
|
#define nsPrintSession_h__
|
|
|
|
|
|
|
|
#include "nsIPrintSession.h"
|
2016-01-05 10:08:57 +00:00
|
|
|
|
|
|
|
#include "mozilla/RefPtr.h"
|
2006-02-07 01:12:54 +00:00
|
|
|
#include "nsWeakReference.h"
|
|
|
|
|
2016-01-05 10:08:57 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace layout {
|
|
|
|
class RemotePrintJobChild;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-02-07 01:12:54 +00:00
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintSession
|
|
|
|
//*****************************************************************************
|
|
|
|
|
2006-02-10 20:40:54 +00:00
|
|
|
class nsPrintSession : public nsIPrintSession,
|
|
|
|
public nsSupportsWeakReference
|
2006-02-07 01:12:54 +00:00
|
|
|
{
|
2014-06-24 16:36:44 +00:00
|
|
|
virtual ~nsPrintSession();
|
|
|
|
|
2006-02-07 01:12:54 +00:00
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIPRINTSESSION
|
|
|
|
|
|
|
|
nsPrintSession();
|
|
|
|
|
|
|
|
virtual nsresult Init();
|
2016-01-05 10:08:57 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
RefPtr<mozilla::layout::RemotePrintJobChild> mRemotePrintJob;
|
2006-02-07 01:12:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // nsPrintSession_h__
|