This commit is contained in:
dougt%netscape.com 2001-05-18 06:09:41 +00:00
Родитель 7e6a5aedfb
Коммит e7acdf64e3
4 изменённых файлов: 48 добавлений и 0 удалений

Просмотреть файл

@ -32,3 +32,4 @@ nsISecurityEventSink.idl
nsISecretDecoderRing.idl
nsISecureBrowserUI.idl
nsISecurityManagerComponent.idl
nsIByteRangeRequest.idl

Просмотреть файл

@ -68,6 +68,7 @@ XPIDLSRCS = \
nsISecureBrowserUI.idl \
nsISecurityManagerComponent.idl \
nsICachingChannel.idl \
nsIByteRangeRequest.idl \
$(NULL)
EXPORTS = \

Просмотреть файл

@ -72,6 +72,7 @@ XPIDLSRCS = \
.\nsISecureBrowserUI.idl \
.\nsISecurityManagerComponent.idl \
.\nsICachingChannel.idl \
.\nsIByteRangeRequest.idl \
$(NULL)
include <$(DEPTH)/config/rules.mak>

Просмотреть файл

@ -0,0 +1,45 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Doug Turner <dougt@netscape.com>
*/
#include "nsISupports.idl"
[scriptable, uuid(39befdb9-fa76-469b-85dc-a617b81f26eb)]
interface nsIByteRangeRequest : nsISupports
{
/**
* Returns true IFF this request is a byte range request, otherwise it
* returns false (This is effectively the same as checking to see if
* |startRequest| is zero and |endRange| is the content length.)
*/
readonly attribute boolean isByteRangeRequest;
/**
* Absolute start position in remote file for this request.
*/
readonly attribute long startRange;
/**
* Absolute end postion in remote file for this request
*/
readonly attribute long endRange;
};