Back to index

lightning-sunbird  0.9+nobinonly
get_jm.cpp File Reference
#include <JVMManagerTests.h>
#include <nsIServiceManager.h>

Go to the source code of this file.


nsresult GetJVMManager (nsIJVMManager **jvmMngr)

Function Documentation

Definition at line 41 of file get_jm.cpp.

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

Here is the call graph for this function: