docshell/base/nsIContentViewerFile.idl

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2  *
     3  * This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsISupports.idl"
     9 interface nsIDOMWindow;
    10 interface nsIPrintSettings;
    11 interface nsIWebProgressListener;
    13 %{ C++
    14 #include <stdio.h>
    15 %}
    17 [ptr] native FILE(FILE);
    19 /**
    20  * The nsIDocShellFile    
    21  */
    23 [scriptable, uuid(564a3276-6228-401e-9b5c-d82cb382a60f)]
    24 interface nsIContentViewerFile : nsISupports
    25 {
    26   readonly attribute boolean printable;
    28   [noscript] void print(in boolean aSilent,
    29                         in FILE    aDebugFile, 
    30                         in nsIPrintSettings aPrintSettings);
    31 };

mercurial