Public Member Functions | Public Attributes

extIApplication Interface Reference

import "extIApplication.idl";

Inheritance diagram for extIApplication:
Collaboration diagram for extIApplication:

List of all members.

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD GetId (nsAString &aId)=0
 The id of the application.
NS_SCRIPTABLE NS_IMETHOD GetName (nsAString &aName)=0
 The name of the application.
NS_SCRIPTABLE NS_IMETHOD GetVersion (nsAString &aVersion)=0
 The version number of the application.
NS_SCRIPTABLE NS_IMETHOD GetConsole (extIConsole **aConsole)=0
 The console object for the application.
NS_SCRIPTABLE NS_IMETHOD GetExtensions (extIExtensions **aExtensions)=0
 The extensions object for the application.
NS_SCRIPTABLE NS_IMETHOD GetPrefs (extIPreferenceBranch **aPrefs)=0
 The preferences object for the application.
NS_SCRIPTABLE NS_IMETHOD GetStorage (extISessionStorage **aStorage)=0
 The storage object for the application.
NS_SCRIPTABLE NS_IMETHOD GetEvents (extIEvents **aEvents)=0
 The events object for the application.
NS_SCRIPTABLE NS_IMETHOD Quit (PRBool *_retval NS_OUTPARAM)=0
 Quits the application (if nobody objects to quit-application-requested).
NS_SCRIPTABLE NS_IMETHOD Restart (PRBool *_retval NS_OUTPARAM)=0
 Restarts the application (if nobody objects to quit-application-requested).
boolean quit ()
 Quits the application (if nobody objects to quit-application-requested).
boolean restart ()
 Restarts the application (if nobody objects to quit-application-requested).

Public Attributes

readonly attribute AString id
 The id of the application.
readonly attribute AString name
 The name of the application.
readonly attribute AString version
 The version number of the application.
readonly attribute extIConsole console
 The console object for the application.
readonly attribute extIExtensions extensions
 The extensions object for the application.
readonly attribute
extIPreferenceBranch 
prefs
 The preferences object for the application.
readonly attribute
extISessionStorage 
storage
 The storage object for the application.
readonly attribute extIEvents events
 The events object for the application.

Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetConsole ( extIConsole **  aConsole  )  [pure virtual]

The console object for the application.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetEvents ( extIEvents **  aEvents  )  [pure virtual]

The events object for the application.

supports: "load", "ready", "quit", "unload"

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetExtensions ( extIExtensions **  aExtensions  )  [pure virtual]

The extensions object for the application.

Contains a list of all installed extensions.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetId ( nsAString aId  )  [pure virtual]

The id of the application.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetName ( nsAString aName  )  [pure virtual]

The name of the application.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetPrefs ( extIPreferenceBranch **  aPrefs  )  [pure virtual]

The preferences object for the application.

Defaults to an empty root branch.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetStorage ( extISessionStorage **  aStorage  )  [pure virtual]

The storage object for the application.

NS_SCRIPTABLE NS_IMETHOD extIApplication::GetVersion ( nsAString aVersion  )  [pure virtual]

The version number of the application.

boolean extIApplication::quit (  ) 

Quits the application (if nobody objects to quit-application-requested).

Returns:
whether quitting will proceed
NS_SCRIPTABLE NS_IMETHOD extIApplication::Quit ( PRBool *_retval  NS_OUTPARAM  )  [pure virtual]

Quits the application (if nobody objects to quit-application-requested).

Returns:
whether quitting will proceed
boolean extIApplication::restart (  ) 

Restarts the application (if nobody objects to quit-application-requested).

Returns:
whether restarting will proceed
NS_SCRIPTABLE NS_IMETHOD extIApplication::Restart ( PRBool *_retval  NS_OUTPARAM  )  [pure virtual]

Restarts the application (if nobody objects to quit-application-requested).

Returns:
whether restarting will proceed

Member Data Documentation

The console object for the application.

readonly attribute extIEvents extIApplication::events

The events object for the application.

supports: "load", "ready", "quit", "unload"

The extensions object for the application.

Contains a list of all installed extensions.

readonly attribute AString extIApplication::id

The id of the application.

readonly attribute AString extIApplication::name

The name of the application.

The preferences object for the application.

Defaults to an empty root branch.

The storage object for the application.

readonly attribute AString extIApplication::version

The version number of the application.


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