sbMediacoreError Class Reference

#include <sbMediacoreError.h>

Inheritance diagram for sbMediacoreError:
Collaboration diagram for sbMediacoreError:

Public Member Functions

sbMediacoreError ()
nsresult Init (PRUint32 aCode, const nsAString &aMessage)

Protected Member Functions

virtual ~sbMediacoreError ()

Protected Attributes

PRLock * mLock
PRUint32 mCode
nsString mMessage

Additional Inherited Members

- Public Attributes inherited from sbIMediacoreError
const unsigned long UNINITIALIZED = 0
const unsigned long FAILED = 1
const unsigned long SB_RESOURCE_NOT_FOUND = 10
const unsigned long SB_RESOURCE_READ = 11
const unsigned long SB_RESOURCE_WRITE = 12
const unsigned long SB_RESOURCE_OPEN_READ = 13
const unsigned long SB_RESOURCE_OPEN_WRITE = 14
const unsigned long SB_RESOURCE_OPEN_READ_WRITE = 15
const unsigned long SB_RESOURCE_CLOSE = 16
const unsigned long SB_RESOURCE_SEEK = 17
const unsigned long SB_RESOURCE_NO_SPACE_LEFT = 18
const unsigned long SB_STREAM_TYPE_NOT_FOUND = 51
const unsigned long SB_STREAM_WRONG_TYPE = 52
const unsigned long SB_STREAM_CODEC_NOT_FOUND = 53
const unsigned long SB_STREAM_DECODE = 54
const unsigned long SB_STREAM_ENCODE = 55
const unsigned long SB_STREAM_DRM_PROTECTED = 56
const unsigned long SB_STREAM_FAILURE = 57
readonly attribute unsigned long code
 Error code. More...
readonly attribute AString message
 Error message (human readable string, localized, preferably). More...

Detailed Description

Definition at line 47 of file sbMediacoreError.h.

Constructor & Destructor Documentation

sbMediacoreError::~sbMediacoreError ( )

Definition at line 63 of file sbMediacoreError.cpp.

Member Function Documentation

nsresult sbMediacoreError::Init ( PRUint32  aCode,
const nsAString &  aMessage 

Definition at line 74 of file sbMediacoreError.cpp.

Member Data Documentation

PRUint32 sbMediacoreError::mCode

Definition at line 63 of file sbMediacoreError.h.

PRLock* sbMediacoreError::mLock

Definition at line 61 of file sbMediacoreError.h.

nsString sbMediacoreError::mMessage

Definition at line 64 of file sbMediacoreError.h.

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