Songbird / Development / Songbird Add-Ons API Documentation

sbIDeviceErrorMonitor Interface Reference

This service monitors devices for errors and stores them for easy access later. More...

import "sbIDeviceErrorMonitor.idl";

List of all members.

Public Member Functions

boolean deviceHasErrors (in sbIDevice aDevice)
 Checks to see if a device has had any recent errors.
nsIArray getErrorsForDevice (in sbIDevice aDevice)
 Gets an array of strings (nsISupportsString) that indicate errors that have happend on this device recently.
void clearErrorsForDevice (in sbIDevice aDevice)
 Clears the array of error strings for a device.


Detailed Description

This service monitors devices for errors and stores them for easy access later.

Definition at line 43 of file sbIDeviceErrorMonitor.idl.


Member Function Documentation

boolean sbIDeviceErrorMonitor::deviceHasErrors ( in sbIDevice  aDevice  ) 

Checks to see if a device has had any recent errors.

Parameters:
aDevice device to check for errors on.
Returns:
true if any errors are currently registered for this device.

nsIArray sbIDeviceErrorMonitor::getErrorsForDevice ( in sbIDevice  aDevice  ) 

Gets an array of strings (nsISupportsString) that indicate errors that have happend on this device recently.

Parameters:
aDevice device to get error list from.
Returns:
array of error strings, empty if no errors exist yet.

void sbIDeviceErrorMonitor::clearErrorsForDevice ( in sbIDevice  aDevice  ) 

Clears the array of error strings for a device.

Parameters:
aDevice device to clear error list from.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:28:57 2009 for Songbird by  doxygen 1.5.2