Package conduit :: Package modules :: Module TestModule :: Class _TestConversionBase
[hide private]

Class _TestConversionBase

source code


Instance Methods [hide private]
 
__init__(self, *args)
All sync functionality should be provided by derived classes
source code
 
configure(self, window)
Show a configuration box for configuring the dataprovider instance.
source code
 
get_input_conversion_args(self)
Provides a way to pass arguments to conversion functions.
source code
dict(string)
get_configuration(self)
Returns a dictionary of strings to be saved, representing the dataproviders current configuration.
source code
string
get_UID(self)
Returns a UID that represents this dataproviders (locally) unique state and configuration.
source code

Inherited from dataproviders.DataProvider.DataSink: delete, put

Inherited from dataproviders.DataProvider.DataProviderBase: emit, emit_change_detected, finish, get_configuration_xml, get_input_type, get_name, get_output_conversion_args, get_output_type, get_status, initialize, is_busy, is_configured, refresh, set_configuration, set_configuration_xml, set_status, uninitialize

Class Variables [hide private]
  _configurable_ = True

Inherited from dataproviders.DataProvider.DataProviderBase: __gsignals__, _category_, _description_, _icon_, _in_type_, _module_type_, _name_, _out_type_

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
All sync functionality should be provided by derived classes
Overrides: dataproviders.DataProvider.DataSink.__init__

configure(self, window)

source code 
Show a configuration box for configuring the dataprovider instance.
Overrides: dataproviders.DataProvider.DataProviderBase.configure
(inherited documentation)

get_input_conversion_args(self)

source code 
Provides a way to pass arguments to conversion functions. For example when transcoding a music file the dataprovider may return a dictionary specifying the conversion encoding, quality, etc
Returns:
a dict of conversion arguments
Overrides: dataproviders.DataProvider.DataProviderBase.get_input_conversion_args
(inherited documentation)

get_configuration(self)

source code 
Returns a dictionary of strings to be saved, representing the dataproviders current configuration. Should be overridden by all dataproviders wishing to be able to save their state between application runs
Returns: dict(string)
Dictionary of strings containing application settings
Overrides: dataproviders.DataProvider.DataProviderBase.get_configuration
(inherited documentation)

get_UID(self)

source code 

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
Returns: string
Overrides: dataproviders.DataProvider.DataProviderBase.get_UID
(inherited documentation)