Back to index

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

#include <xpcprivate.h>

Collaboration diagram for AutoJSSuspendRequestWithNoCallContext:
Collaboration graph

List of all members.

Public Member Functions

 AutoJSSuspendRequestWithNoCallContext (JSContext *aCX)
 ~AutoJSSuspendRequestWithNoCallContext ()
void ResumeRequest ()

Private Member Functions

void SuspendRequest ()

Private Attributes

jsrefcount mDepth

Detailed Description

Definition at line 3204 of file xpcprivate.h.

Constructor & Destructor Documentation

Definition at line 3207 of file xpcprivate.h.

      : mCX(aCX) {SuspendRequest();}

Definition at line 3209 of file xpcprivate.h.

Member Function Documentation

Definition at line 3211 of file xpcprivate.h.

        if(mCX) {
            JS_ResumeRequest(mCX, mDepth);
            mCX = nsnull;

Definition at line 3218 of file xpcprivate.h.

            mDepth = JS_SuspendRequest(mCX);
            mCX = nsnull;

Member Data Documentation

Definition at line 3225 of file xpcprivate.h.

Definition at line 3226 of file xpcprivate.h.

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