Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
CPluginStreamInfo Class Reference
Inheritance diagram for CPluginStreamInfo:
Inheritance graph
[legend]
Collaboration diagram for CPluginStreamInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS CPluginStreamInfo (const char *URL, nsIPluginInputStream *inStr, nsMIMEType type, PRBool seekable)
virtual ~CPluginStreamInfo ()
NS_METHOD GetContentType (nsMIMEType *result)
NS_METHOD IsSeekable (PRBool *result)
NS_METHOD GetLength (PRUint32 *result)
NS_METHOD GetLastModified (PRUint32 *result)
NS_METHOD GetURL (const char **result)
NS_METHOD RequestRead (nsByteRange *rangeList)
 CPluginStreamInfo (const char *URL, nsIPluginInputStream *inStr, nsMIMEType type, PRBool seekable)
virtual ~CPluginStreamInfo ()
NS_DECL_ISUPPORTS NS_METHOD GetContentType (nsMIMEType *result)
NS_METHOD IsSeekable (PRBool *result)
NS_METHOD GetLength (PRUint32 *result)
NS_METHOD GetLastModified (PRUint32 *result)
NS_METHOD GetURL (const char **result)
NS_METHOD RequestRead (nsByteRange *rangeList)
NS_METHOD GetStreamOffset (PRInt32 *result)
NS_METHOD SetStreamOffset (PRInt32 offset)
void isSeekable (out boolean aSeekable)
void getURL (out constCharPtr aURL)
void requestRead (in nsByteRangePtr aRangeList)

Public Attributes

readonly attribute nsMIMEType contentType
readonly attribute unsigned long length
readonly attribute unsigned long lastModified
attribute long streamOffset

Private Attributes

const char * mURL
nsIPluginInputStreammInputStream
nsMIMEType mMimeType
PRBool mIsSeekable
PRInt32 mStreamOffset

Detailed Description

Definition at line 373 of file badapter.cpp.


Constructor & Destructor Documentation

NS_DECL_ISUPPORTS CPluginStreamInfo::CPluginStreamInfo ( const char *  URL,
nsIPluginInputStream inStr,
nsMIMEType  type,
PRBool  seekable 
) [inline]

Definition at line 377 of file badapter.cpp.

               : mURL(URL), mInputStream(inStr), mMimeType(type), mIsSeekable(seekable) {}
virtual CPluginStreamInfo::~CPluginStreamInfo ( ) [inline, virtual]

Definition at line 380 of file badapter.cpp.

{}
CPluginStreamInfo::CPluginStreamInfo ( const char *  URL,
nsIPluginInputStream inStr,
nsMIMEType  type,
PRBool  seekable 
) [inline]

Definition at line 742 of file BackwardAdapter.cpp.

               : mURL(URL), mInputStream(inStr), mMimeType(type), mIsSeekable(seekable)
       {
       }
virtual CPluginStreamInfo::~CPluginStreamInfo ( ) [inline, virtual]

Definition at line 747 of file BackwardAdapter.cpp.

{}

Member Function Documentation

Definition at line 383 of file badapter.cpp.

       {
              *result = mMimeType;
              return NS_OK;
       }

Definition at line 752 of file BackwardAdapter.cpp.

       {
              *result = mMimeType;
              return NS_OK;
       }

Definition at line 403 of file badapter.cpp.

       {
              return mInputStream->GetLastModified(result);
       }

Definition at line 772 of file BackwardAdapter.cpp.

       {
              return mInputStream->GetLastModified(result);
       }

Definition at line 397 of file badapter.cpp.

       {
              return mInputStream->GetLength(result);
       }

Definition at line 766 of file BackwardAdapter.cpp.

       {
              return mInputStream->Available(result);
       }

Definition at line 791 of file BackwardAdapter.cpp.

       {
              *result = mStreamOffset;
              return NS_OK;
       }
NS_METHOD CPluginStreamInfo::GetURL ( const char **  result) [inline]

Definition at line 409 of file badapter.cpp.

       {
              *result = mURL;
              return NS_OK;
       }
NS_METHOD CPluginStreamInfo::GetURL ( const char **  result) [inline]

Definition at line 778 of file BackwardAdapter.cpp.

       {
              *result = mURL;
              return NS_OK;
       }
void nsIPluginStreamInfo::isSeekable ( out boolean  aSeekable) [inherited]

Definition at line 390 of file badapter.cpp.

       {
              *result = mIsSeekable;
              return NS_OK;
       }

Definition at line 759 of file BackwardAdapter.cpp.

       {
              *result = mIsSeekable;
              return NS_OK;
       }

Definition at line 416 of file badapter.cpp.

       {
              return mInputStream->RequestRead(rangeList);
       }

Definition at line 785 of file BackwardAdapter.cpp.

       {
              return mInputStream->RequestRead(rangeList);
       }

Definition at line 799 of file BackwardAdapter.cpp.

       {
              mStreamOffset = offset;
              return NS_OK;
       }

Member Data Documentation

Definition at line 58 of file nsIPluginStreamInfo.idl.

readonly attribute unsigned long nsIPluginStreamInfo::lastModified [inherited]

Definition at line 64 of file nsIPluginStreamInfo.idl.

readonly attribute unsigned long nsIPluginStreamInfo::length [inherited]

Definition at line 62 of file nsIPluginStreamInfo.idl.

Definition at line 423 of file badapter.cpp.

Definition at line 425 of file badapter.cpp.

Definition at line 424 of file badapter.cpp.

Definition at line 810 of file BackwardAdapter.cpp.

const char * CPluginStreamInfo::mURL [private]

Definition at line 422 of file badapter.cpp.

Definition at line 70 of file nsIPluginStreamInfo.idl.


The documentation for this class was generated from the following files: