Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsHelperMimeType Class Reference

#include <nsMimeTypeArray.h>

Inheritance diagram for nsHelperMimeType:
Inheritance graph
Collaboration diagram for nsHelperMimeType:
Collaboration graph

List of all members.

Public Member Functions

 nsHelperMimeType (const nsAString &aType)
virtual ~nsHelperMimeType ()
NS_DECL_ISUPPORTS NS_IMETHOD GetDescription (nsAString &aDescription)
NS_IMETHOD GetEnabledPlugin (nsIDOMPlugin **aEnabledPlugin)
NS_IMETHOD GetSuffixes (nsAString &aSuffixes)
NS_IMETHOD GetType (nsAString &aType)

Public Attributes

readonly attribute DOMString description
readonly attribute nsIDOMPlugin enabledPlugin
readonly attribute DOMString suffixes
readonly attribute DOMString type

Private Attributes

nsString mType

Detailed Description

Definition at line 89 of file nsMimeTypeArray.h.

Constructor & Destructor Documentation

nsHelperMimeType::nsHelperMimeType ( const nsAString &  aType) [inline]

Definition at line 92 of file nsMimeTypeArray.h.

              : mType(aType)
virtual nsHelperMimeType::~nsHelperMimeType ( ) [inline, virtual]

Definition at line 97 of file nsMimeTypeArray.h.


Member Function Documentation

NS_IMETHODIMP nsHelperMimeType::GetDescription ( nsAString &  aDescription)

Definition at line 309 of file nsMimeTypeArray.cpp.

  return NS_OK;

Definition at line 316 of file nsMimeTypeArray.cpp.

  *aEnabledPlugin = nsnull;
  return NS_OK;
NS_IMETHODIMP nsHelperMimeType::GetSuffixes ( nsAString &  aSuffixes)

Definition at line 323 of file nsMimeTypeArray.cpp.

  return NS_OK;
NS_IMETHODIMP nsHelperMimeType::GetType ( nsAString &  aType)

Definition at line 330 of file nsMimeTypeArray.cpp.

  aType = mType;
  return NS_OK;

Member Data Documentation

readonly attribute DOMString nsIDOMMimeType::description [inherited]

Definition at line 45 of file nsIDOMMimeType.idl.

Definition at line 46 of file nsIDOMMimeType.idl.

Definition at line 109 of file nsMimeTypeArray.h.

readonly attribute DOMString nsIDOMMimeType::suffixes [inherited]

Definition at line 47 of file nsIDOMMimeType.idl.

readonly attribute DOMString nsIDOMMimeType::type [inherited]

Definition at line 48 of file nsIDOMMimeType.idl.

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