xpfe/components/directory/nsIHTTPIndex.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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