1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/widget/nsIPrintSession.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsISupports.idl" 1.10 + 1.11 +/** 1.12 + * nsIPrintSession 1.13 + * 1.14 + * Stores data pertaining only to a single print job. This 1.15 + * differs from nsIPrintSettings, which stores data which may 1.16 + * be valid across a number of jobs. 1.17 + * 1.18 + * This interface is currently empty since, at this point, only 1.19 + * platform-specific derived interfaces offer any functionality. 1.20 + * It is here as a placeholder for when the printing session has 1.21 + * XP functionality. 1.22 + * 1.23 + * The creation of a component which implements this interface 1.24 + * will begin the session. Likewise, destruction of that object 1.25 + * will end the session. 1.26 + * 1.27 + * @status 1.28 + */ 1.29 + 1.30 +[uuid(2f977d52-5485-11d4-87e2-0010a4e75ef2)] 1.31 + 1.32 +interface nsIPrintSession : nsISupports 1.33 +{ 1.34 +};