Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIWindowsHooks Interface Reference

import "nsIWindowsHooks.idl";

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

List of all members.

Public Member Functions

boolean checkSettings (in nsIDOMWindowInternal aParent)
boolean isOptionEnabled (in string option)
 Returns true if command is in the "(appname) QuickLaunch" value in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run key.
void startupAddOption (in string option)
 Adds the option to the "(appname) QuickLaunch" value to the key mentioned above, with data "(path\to\app.exe) option", if not done already.
void startupRemoveOption (in string option)
 Removes the commnand from the "(appname) QuickLaunch" value from the key mentioned above, if not done already.
void setImageAsWallpaper (in nsIDOMElement aImageElement, in boolean useBackground)
 Accepts an element, either an HTML img element or an element with a background image, serializes the image to a bitmap file in the windows directory, and sets it to be the desktop wallpaper.

Public Attributes

attribute nsIWindowsHooksSettings settings

Detailed Description

Definition at line 163 of file nsIWindowsHooks.idl.


Member Function Documentation

Returns true if command is in the "(appname) QuickLaunch" value in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run key.

void nsIWindowsHooks::setImageAsWallpaper ( in nsIDOMElement  aImageElement,
in boolean  useBackground 
)

Accepts an element, either an HTML img element or an element with a background image, serializes the image to a bitmap file in the windows directory, and sets it to be the desktop wallpaper.

Adds the option to the "(appname) QuickLaunch" value to the key mentioned above, with data "(path\to\app.exe) option", if not done already.

Removes the commnand from the "(appname) QuickLaunch" value from the key mentioned above, if not done already.

And deletes the "(appname) QuickLaunch" value entirely if there are no options left


Member Data Documentation

Definition at line 169 of file nsIWindowsHooks.idl.


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