Back to index

lightning-sunbird  0.9+nobinonly
Functions
LiveConnect.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void liveconnect_Shutdown ()
jref liveconnect_GetJavaClass ()

Function Documentation

Definition at line 80 of file LiveConnect.cpp.

{
    JRIEnv* env = NPN_GetJavaEnv();
    if (env) {
        // Note: The order of these is important (for some unknown reason)
        //       and was determined through trial and error. Do not rearrange
        //       without testing the new order!
        use_netscape_plugin_Plugin(env);
        jref myClass = (jref) use_MozAxPlugin(env);
        use_java_lang_Error(env);
//        use_java_lang_String(env);
        use_java_lang_Number(env);
        use_java_lang_Boolean(env);
        use_java_lang_Integer(env);
        use_java_lang_Long(env);
//        use_java_lang_Float(env);
//        use_java_lang_Double(env);
        use_java_lang_Character(env);
        return myClass;
    }
    return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 62 of file LiveConnect.cpp.

{
    JRIEnv* env = NPN_GetJavaEnv();
    if (env) {
        unuse_MozAxPlugin(env);
        unuse_netscape_plugin_Plugin(env);
        unuse_java_lang_Error(env);
//        unuse_java_lang_String(env);
        unuse_java_lang_Number(env);
        unuse_java_lang_Boolean(env);
        unuse_java_lang_Integer(env);
        unuse_java_lang_Long(env);
//        unuse_java_lang_Float(env);
//        unuse_java_lang_Double(env);
        unuse_java_lang_Character(env);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function: