Back to index

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

#include <xpcprivate.h>

Collaboration diagram for AutoJSRequestWithNoCallContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AutoJSRequestWithNoCallContext (JSContext *aCX)
 ~AutoJSRequestWithNoCallContext ()
void EndRequest ()

Private Member Functions

void BeginRequest ()

Private Attributes

JSContextmCX

Detailed Description

Definition at line 3231 of file xpcprivate.h.


Constructor & Destructor Documentation

Definition at line 3234 of file xpcprivate.h.

: mCX(aCX) {BeginRequest();}

Definition at line 3235 of file xpcprivate.h.


Member Function Documentation

Definition at line 3244 of file xpcprivate.h.

                        {
        if(JS_GetContextThread(mCX))
            JS_BeginRequest(mCX);
        else
            mCX = nsnull;
    }

Definition at line 3237 of file xpcprivate.h.

                      {
        if(mCX) {
            JS_EndRequest(mCX);
            mCX = nsnull;
        }
    }

Member Data Documentation

Definition at line 3251 of file xpcprivate.h.


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