Back to index

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

List of all members.

Public Member Functions

 nsTokenEventRunnable (const nsAString &aType, const nsAString &aTokenName)
virtual ~nsTokenEventRunnable ()
 Defines an entry point for a newly created thread.
void run ()

Private Attributes

nsString mType
nsString mTokenName

Detailed Description

Definition at line 242 of file nsNSSComponent.cpp.

Constructor & Destructor Documentation

nsTokenEventRunnable::nsTokenEventRunnable ( const nsAString &  aType,
const nsAString &  aTokenName 

Definition at line 257 of file nsNSSComponent.cpp.

                               : mType(aType), mTokenName(aTokenName) { }

Definition at line 260 of file nsNSSComponent.cpp.

{ }

Member Function Documentation

void nsIRunnable::run ( ) [inherited]

Defines an entry point for a newly created thread.

Implements nsIRunnable.

Definition at line 265 of file nsNSSComponent.cpp.

  nsresult rv;
  nsCOMPtr<nsINSSComponent> nssComponent(do_GetService(kNSSComponentCID, &rv));
  if (NS_FAILED(rv))
    return rv;

  return nssComponent->DispatchEvent(mType, mTokenName);

Here is the call graph for this function:

Member Data Documentation

Definition at line 251 of file nsNSSComponent.cpp.

Definition at line 250 of file nsNSSComponent.cpp.

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