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
|
|
|
|
|
|
|
#include "nsPrintSession.h"
|
|
|
|
|
2016-01-05 13:08:57 +03:00
|
|
|
#include "mozilla/layout/RemotePrintJobChild.h"
|
|
|
|
|
|
|
|
typedef mozilla::layout::RemotePrintJobChild RemotePrintJobChild;
|
|
|
|
|
2006-02-07 04:12:54 +03:00
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintSession
|
|
|
|
//*****************************************************************************
|
|
|
|
|
2014-04-27 11:06:00 +04:00
|
|
|
NS_IMPL_ISUPPORTS(nsPrintSession, nsIPrintSession, nsISupportsWeakReference)
|
2018-11-30 13:46:48 +03:00
|
|
|
|
2006-02-07 04:12:54 +03:00
|
|
|
//-----------------------------------------------------------------------------
|
2020-03-16 13:56:57 +03:00
|
|
|
nsPrintSession::nsPrintSession() = default;
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
2020-03-16 13:56:57 +03:00
|
|
|
nsPrintSession::~nsPrintSession() = default;
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
nsresult nsPrintSession::Init() { return NS_OK; }
|
2016-01-05 13:08:57 +03:00
|
|
|
|
2018-11-20 04:17:54 +03:00
|
|
|
RemotePrintJobChild* nsPrintSession::GetRemotePrintJob() {
|
|
|
|
return mRemotePrintJob;
|
2016-01-05 13:08:57 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void nsPrintSession::SetRemotePrintJob(RemotePrintJobChild* aRemotePrintJob) {
|
|
|
|
mRemotePrintJob = aRemotePrintJob;
|
|
|
|
}
|