| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
bool
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict(string)
|
|
||
string
|
|
||
|
|||
|
|||
string
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__gsignals__ = {"status-changed":(gobject.SIGNAL_RUN_LAST, gob
|
|||
_name_ = ""
|
|||
_description_ = ""
|
|||
_icon_ = ""
|
|||
_module_type_ = "dataprovider"
|
|||
_category_ = DataProviderCategory.DataProviderCategory("Test")
|
|||
_configurable_ = False
|
|||
_out_type_ = ""
|
|||
_in_type_ = ""
|
|||
|
|||
Emits a 'status-changed' signal to the main loop. You should connect to this signal if you wish to be notified when the derived DataProvider goes through its stages (STATUS_* etc) |
Called when the module is loaded by the module loader. It is called in the main thread so should NOT block. It should perform simple tests to determine whether the dataprovider is applicable to the user and whether is should be presented to them. For example it may check if a specific piece of hardware is loaded, or check if a user has the specific piece of software installed with which it synchronizes.
|
Performs any (conduit.logging in, etc) which must be undertaken on the dataprovider prior to calling get_all(). Should gather all information so a subsequent call to get_all() can return the uids of all the data this dataprovider holds This function may be called multiple times so derived classes should be aware of this. Derived classes should call this function to ensure the dataprovider status is updated. |
|
|
|
To Do: This simple test introduces a few (many) corner cases where the function will return the wrong result. Think about this harder |
|
|
|
|
|
Returns a UID that represents this dataproviders (locally) unique state and configuration. For example the LUID for a gmail dp may be your username and password. Derived types MUST overwride this function
|
|
|
|
|
|
|
|||
__gsignals__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 2 22:18:17 2008 | http://epydoc.sourceforge.net |