Back to index

lightning-sunbird  0.9+nobinonly
get_lcm.cpp File Reference
#include <ojiapitests.h>
#include <LiveConnectManagerTests.h>

Go to the source code of this file.


nsresult GetLiveConnectManager (nsILiveConnectManager **lcMngr)

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: