2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
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/. */
|
1999-08-23 07:48:53 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
The interface to an HTTP index
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
interface nsIStreamListener;
|
|
|
|
interface nsIRDFDataSource;
|
2000-08-28 13:50:20 +04:00
|
|
|
interface nsIRDFNode;
|
|
|
|
interface nsIRDFResource;
|
1999-08-23 07:48:53 +04:00
|
|
|
|
|
|
|
[scriptable, uuid(6F2BDBD0-58C3-11d3-BE36-00104BDE6048)]
|
|
|
|
interface nsIHTTPIndex : nsISupports
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The base URL of the HTTP index
|
|
|
|
*/
|
|
|
|
readonly attribute string BaseURL;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The RDF datasource that contains the HTTP index information.
|
|
|
|
*/
|
|
|
|
readonly attribute nsIRDFDataSource DataSource;
|
|
|
|
|
2000-07-14 13:07:13 +04:00
|
|
|
/**
|
|
|
|
* The charset to use for decoding FTP filenames
|
|
|
|
*/
|
|
|
|
attribute string encoding;
|
1999-08-23 07:48:53 +04:00
|
|
|
};
|
|
|
|
|
2000-04-17 09:07:26 +04:00
|
|
|
%{C++
|
|
|
|
|
|
|
|
// {{2587e382-1324-11d4-a652-eadbb2be3484}
|
|
|
|
#define NS_HTTPINDEX_SERVICE_CID \
|
|
|
|
{ 0x2587e382, 0x1324, 0x11d4, { 0xa6, 0x52, 0xea, 0xdb, 0xb2, 0xbe, 0x34, 0x84 } }
|
|
|
|
|
2000-09-14 03:57:52 +04:00
|
|
|
#define NS_HTTPINDEX_SERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/browser/httpindex-service;1"
|
2000-04-17 09:07:26 +04:00
|
|
|
|
2000-09-14 03:57:52 +04:00
|
|
|
#define NS_HTTPINDEX_DATASOURCE_CONTRACTID \
|
|
|
|
"@mozilla.org/rdf/datasource;1?name=httpindex"
|
2000-04-17 09:07:26 +04:00
|
|
|
|
|
|
|
%}
|