Logo Search packages:      
Sourcecode: calibre version File versions  Download package

calibre::devices::interface::DevicePlugin Class Reference

Inheritance diagram for calibre::devices::interface::DevicePlugin:

calibre::customize::Plugin calibre::devices::prs500::driver::PRS500 calibre::devices::usbms::device::Device

List of all members.

Detailed Description

Defines the interface that should be implemented by backends that
communicate with an ebook reader.

The C{end_session} variables are used for USB session management. Sometimes
the front-end needs to call several methods one after another, in which case
the USB session should not be closed after each method call.

Definition at line 13 of file interface.py.

Public Member Functions

def __enter__
def __exit__
def __init__
def add_books_to_metadata
def books
def can_handle
def card_prefix
def config_widget
def customization_help
def delete_books
def eject
def free_space
def get_device_information
def get_fdi
def get_file
def initialize
def is_customizable
def is_usb_connected
def is_usb_connected_windows
def open
def post_yank_cleanup
def print_usb_device_info
def remove_books_from_metadata
def reset
def save_settings
def set_progress_reporter
def settings
def sync_booklists
def temporary_file
def test_bcd
def test_bcd_windows
def total_space
def upload_books

Public Attributes


Static Public Attributes

tuple author = _('Unknown')
 BCD = None
 can_be_disabled = True
tuple description = _('Does absolutely nothing')
list FORMATS = ["lrf", "rtf", "pdf", "txt"]
tuple icon = I('reader.svg')
tuple minimum_calibre_version = (0, 4, 118)
string name = 'Trivial Plugin'
 path_sep = os.sep
int priority = 1
int PRODUCT_ID = 0x0000
list supported_platforms = []
tuple type = _('Device Interface')
int VENDOR_ID = 0x0000
tuple version = (1, 0, 0)

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

Generated by  Doxygen 1.6.0   Back to index