Back to index

lightning-sunbird  0.9+nobinonly
Functions
LiveConnectManagerTests.h File Reference
#include "ojiapitests.h"
#include <nsIJVMManager.h>
#include <nsILiveConnectManager.h>
#include <nsIServiceManager.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static NS_DEFINE_IID (kJVMManagerCID, NS_JVMMANAGER_CID)
static NS_DEFINE_IID (kILiveConnectManagerIID, NS_ILIVECONNECTMANAGER_IID)
nsresult GetLiveConnectManager (nsILiveConnectManager **lc)

Function Documentation

Definition at line 41 of file get_lcm.cpp.

                                                               {
       *lcMngr = nsnull;
       nsresult rv = NS_OK;
       rv = CallGetService(kJVMManagerCID, lcMngr);
       if (rv != NS_OK || !lcMngr) {
              fprintf(stderr, "ERROR: Can't get LiveConnect manager !\n");
              return NS_ERROR_FAILURE;
       }
       return NS_OK;
} 

Here is the call graph for this function:

static NS_DEFINE_IID ( kJVMManagerCID  ,
NS_JVMMANAGER_CID   
) [static]
static NS_DEFINE_IID ( kILiveConnectManagerIID  ,
NS_ILIVECONNECTMANAGER_IID   
) [static]