/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */

/**
 * nsIPluginStreamInfo
 *
 * @status DEPRECATED
 *
 * Originally published XPCOM Plugin API is now deprecated
 * Developers are welcome to use NPAPI, please refer to:
 * http://mozilla.org/projects/plugins/
 */

#include "nsISupports.idl"
#include "nspluginroot.idl"

%{C++
#include "npapi.h"
%}

[uuid(A700845F-0E26-44EA-84F5-3BE5381F98D5)]
interface nsIPluginStreamInfo : nsISupports
{
  readonly attribute string contentType;

  void isSeekable(out boolean aSeekable);

    readonly attribute unsigned long length;

    readonly attribute unsigned long lastModified;

  void getURL(out constCharPtr aURL);

  void requestRead(in NPByteRangePtr aRangeList);

  attribute long streamOffset;
};
