xpfe/components/directory/nsIHTTPIndex.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 /*
     8   The interface to an HTTP index
    10 */
    12 #include "nsISupports.idl"
    14 interface nsIStreamListener;
    15 interface nsIRDFDataSource;
    16 interface nsIRDFNode;
    17 interface nsIRDFResource;
    19 [scriptable, uuid(6F2BDBD0-58C3-11d3-BE36-00104BDE6048)]
    20 interface nsIHTTPIndex : nsISupports
    21 {
    22     /**
    23      * The base URL of the HTTP index
    24      */
    25     readonly attribute string BaseURL;
    27     /**
    28      * The RDF datasource that contains the HTTP index information.
    29      */
    30     readonly attribute nsIRDFDataSource DataSource;
    32     /**
    33      * The charset to use for decoding FTP filenames
    34      */
    35     attribute string encoding;
    36 };
    38 %{C++
    40 // {{2587e382-1324-11d4-a652-eadbb2be3484}
    41 #define NS_HTTPINDEX_SERVICE_CID \
    42 { 0x2587e382, 0x1324, 0x11d4, { 0xa6, 0x52, 0xea, 0xdb, 0xb2, 0xbe, 0x34, 0x84 } }
    44 #define NS_HTTPINDEX_SERVICE_CONTRACTID \
    45     "@mozilla.org/browser/httpindex-service;1"
    47 #define NS_HTTPINDEX_DATASOURCE_CONTRACTID \
    48     "@mozilla.org/rdf/datasource;1?name=httpindex"
    50 %}

mercurial