Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
mozJSSubScriptLoader Class Reference

#include <mozJSSubScriptLoader.h>

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

List of all members.

Public Member Functions

 mozJSSubScriptLoader ()
virtual ~mozJSSubScriptLoader ()
void loadSubScript (in wstring url)
 This method should only be called from JS! In JS, the signature looks like: rv loadSubScript (url [, obj]);.

Private Attributes

nsCOMPtr< nsIPrincipalmSystemPrincipal

Detailed Description

Definition at line 53 of file mozJSSubScriptLoader.h.


Constructor & Destructor Documentation

Definition at line 81 of file mozJSSubScriptLoader.cpp.

Definition at line 85 of file mozJSSubScriptLoader.cpp.

{
    /* empty */
}

Member Function Documentation

void mozIJSSubScriptLoader::loadSubScript ( in wstring  url) [inherited]

This method should only be called from JS! In JS, the signature looks like: rv loadSubScript (url [, obj]);.

Parameters:
urlthe url if the sub-script, it MUST be either a file:, resource:, or chrome: url, and MUST be local.
objan optional object to evaluate the script onto, it defaults to the global object of the caller.
Return values:
rvthe value returned by the sub-script

Member Data Documentation

Definition at line 64 of file mozJSSubScriptLoader.h.


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