Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsILiveConnectManager Class Reference

#include <nsILiveConnectManager.h>

Inheritance diagram for nsILiveConnectManager:
Inheritance graph
[legend]
Collaboration diagram for nsILiveConnectManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD StartupLiveConnect (JSRuntime *runtime, PRBool &outStarted)=0
 Attempts to start LiveConnect using the specified JSRuntime.
NS_IMETHOD ShutdownLiveConnect (JSRuntime *runtime, PRBool &outShutdown)=0
 Attempts to stop LiveConnect using the specified JSRuntime.
NS_IMETHOD IsLiveConnectEnabled (PRBool &outEnabled)=0
 Indicates whether LiveConnect can be used.
NS_IMETHOD InitLiveConnectClasses (JSContext *context, JSObject *globalObject)=0
 Initializes a JSContext with the proper LiveConnect support classes.
NS_IMETHOD WrapJavaObject (JSContext *context, jobject javaObject, JSObject **outJSObject)=0
 Creates a JavaScript wrapper for a Java object.

Detailed Description

Definition at line 65 of file nsILiveConnectManager.h.


Member Function Documentation

NS_IMETHOD nsILiveConnectManager::InitLiveConnectClasses ( JSContext context,
JSObject globalObject 
) [pure virtual]

Initializes a JSContext with the proper LiveConnect support classes.

Implemented in nsJVMManager.

Indicates whether LiveConnect can be used.

Implemented in nsJVMManager.

NS_IMETHOD nsILiveConnectManager::ShutdownLiveConnect ( JSRuntime runtime,
PRBool outShutdown 
) [pure virtual]

Attempts to stop LiveConnect using the specified JSRuntime.

Implemented in nsJVMManager.

NS_IMETHOD nsILiveConnectManager::StartupLiveConnect ( JSRuntime runtime,
PRBool outStarted 
) [pure virtual]

Attempts to start LiveConnect using the specified JSRuntime.

Implemented in nsJVMManager.

NS_IMETHOD nsILiveConnectManager::WrapJavaObject ( JSContext context,
jobject  javaObject,
JSObject **  outJSObject 
) [pure virtual]

Creates a JavaScript wrapper for a Java object.

Implemented in nsJVMManager.


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