Back to index

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

#include <xpcprivate.h>

Collaboration diagram for AutoJSSuspendRequest:
Collaboration graph

List of all members.

Public Member Functions

 AutoJSSuspendRequest (XPCCallContext &aCCX)
 ~AutoJSSuspendRequest ()
void ResumeRequest ()

Private Member Functions

void SuspendRequest ()

Private Attributes

jsrefcount mDepth

Detailed Description

Definition at line 3178 of file xpcprivate.h.

Constructor & Destructor Documentation

Definition at line 3181 of file xpcprivate.h.

      : mCCX(aCCX), mCX(aCCX.GetJSContext()) {SuspendRequest();}

Definition at line 3183 of file xpcprivate.h.

Member Function Documentation

Definition at line 3185 of file xpcprivate.h.

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

Definition at line 3192 of file xpcprivate.h.

            mDepth = JS_SuspendRequest(mCX);
            mCX = nsnull;

Member Data Documentation

Definition at line 3199 of file xpcprivate.h.

Definition at line 3200 of file xpcprivate.h.

Definition at line 3201 of file xpcprivate.h.

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