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