Back to index

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

List of all members.

Public Member Functions

long Test (in long p1, in long p2)
void Test3 (in nsISupports p1, out nsISupports p2)

Private Member Functions

NS_DECL_ISUPPORTS NS_IMETHOD Test (PRInt32 p1, PRInt32 p2, PRInt32 *retval)
NS_IMETHOD Test3 (nsISupports *p1, nsISupports **p2)
 nsTestXPCFoo2 ()

Detailed Description

Definition at line 115 of file proxytests.cpp.

Constructor & Destructor Documentation

Definition at line 125 of file proxytests.cpp.

Member Function Documentation

long nsITestProxy::Test ( in long  p1,
in long  p2 
) [inherited]
NS_IMETHODIMP nsTestXPCFoo2::Test ( PRInt32  p1,
PRInt32  p2,
PRInt32 retval 
) [private]

Definition at line 132 of file proxytests.cpp.

    printf("calling back to caller!\n\n");

    nsCOMPtr<nsIProxyObjectManager> manager =

    printf("ProxyObjectManager: %p \n", (void *) manager.get());

    nsCOMPtr<nsITestProxy> proxyObject;
    manager->GetProxyForObject((nsIEventQueue*)p1, NS_GET_IID(nsITestProxy),
                               this, PROXY_SYNC, (void**)&proxyObject);
    proxyObject->Test3(nsnull, nsnull);
    printf("Deleting Proxy Object\n");
    return NS_OK;

Here is the call graph for this function:

Implements nsITestProxy.

Definition at line 153 of file proxytests.cpp.

    printf("nsTestXPCFoo2::Test2() called\n");

    return NS_OK;
void nsITestProxy::Test3 ( in nsISupports  p1,
out nsISupports  p2 
) [inherited]
NS_IMETHODIMP nsTestXPCFoo2::Test3 ( nsISupports *  p1,
nsISupports **  p2 
) [private]

Definition at line 161 of file proxytests.cpp.

    printf("Got called");
    return NS_OK;

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