tmozIScanFormatManager Interface Reference

Scan Format Manager. More...

List of all members.

Public Member Functions

tmozIScanFormat getByID (in long id)
 Return profile with given ID.
tmozIScanFormat add ()
 Add profile.
boolean edit (in tmozIScanFormat format)
 Edit format.
void remove (in tmozIScanFormat format)
 Remove format.

Public Attributes

readonly attribute
nsISimpleEnumerator 
formats
 Return list of formats.


Detailed Description

Scan Format Manager.

Manage scanning formats (tmozIScanFormat)


Member Function Documentation

tmozIScanFormat add (  ) 

Add profile.

Function will display dialog to edit new profile

boolean edit ( in tmozIScanFormat  format  ) 

Edit format.

Parameters:
format Format to edit
Returns:
Return true if format was changed. Return false if profile was not edited.

tmozIScanFormat getByID ( in long  id  ) 

Return profile with given ID.

Returns:
Return profile with given ID, throw exception if format does not exists.

void remove ( in tmozIScanFormat  format  ) 

Remove format.

Parameters:
format Format to remove


Member Data Documentation

readonly attribute nsISimpleEnumerator formats

Return list of formats.

Each enumerated format is type of tmozIScanFormat.


Generated on Thu Aug 27 12:37:06 2009 for Tahiti XPCOM API