home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- __license__ = 'GPL v3'
- __copyright__ = '2009, John Schember <john at nachtimwald.com>'
- __docformat__ = 'restructuredtext en'
- import re
- from calibre.devices.usbms.driver import USBMS
-
- class N516(USBMS):
- name = 'N516 driver'
- gui_name = 'N516'
- description = _('Communicate with the Hanvon N520 eBook reader.')
- author = 'John Schember'
- supported_platforms = [
- 'windows',
- 'osx',
- 'linux']
- FORMATS = [
- 'epub',
- 'prc',
- 'html',
- 'pdf',
- 'txt']
- VENDOR_ID = [
- 1317]
- PRODUCT_ID = [
- 42149]
- BCD = [
- 803,
- 806,
- 807]
- VENDOR_NAME = 'INGENIC'
- WINDOWS_MAIN_MEM = '_FILE-STOR_GADGE'
- MAIN_MEMORY_VOLUME_LABEL = 'N520 Internal Memory'
- EBOOK_DIR_MAIN = 'e_book'
- SUPPORTS_SUB_DIRS = True
-
-
- class THEBOOK(N516):
- name = 'The Book driver'
- gui_name = 'The Book'
- description = _('Communicate with The Book reader.')
- author = 'Kovid Goyal'
- BCD = [
- 921]
- MAIN_MEMORY_VOLUME_LABEL = 'The Book Main Memory'
- EBOOK_DIR_MAIN = 'My books'
- WINDOWS_CARD_A_MEM = '_FILE-STOR_GADGE'
-
-
- class ALEX(N516):
- name = 'Alex driver'
- gui_name = 'SpringDesign Alex'
- description = _('Communicate with the SpringDesign Alex eBook reader.')
- author = 'Kovid Goyal'
- FORMATS = [
- 'epub',
- 'pdf']
- VENDOR_NAME = 'ALEX'
- WINDOWS_MAIN_MEM = 'READER'
- MAIN_MEMORY_VOLUME_LABEL = 'Alex Internal Memory'
- EBOOK_DIR_MAIN = 'eBooks'
- SUPPORTS_SUB_DIRS = True
-
-
- class AZBOOKA(ALEX):
- name = 'Azbooka driver'
- gui_name = 'Azbooka'
- description = _('Communicate with the Azbooka')
- VENDOR_NAME = 'LINUX'
- WINDOWS_MAIN_MEM = 'FILE-STOR_GADGET'
- MAIN_MEMORY_VOLUME_LABEL = 'Azbooka Internal Memory'
- EBOOK_DIR_MAIN = ''
-
-
- class EB511(USBMS):
- name = 'Elonex EB 511 driver'
- gui_name = 'EB 511'
- description = _('Communicate with the Elonex EB 511 eBook reader.')
- author = 'Kovid Goyal'
- supported_platforms = [
- 'windows',
- 'osx',
- 'linux']
- FORMATS = [
- 'epub',
- 'html',
- 'pdf',
- 'txt']
- VENDOR_ID = [
- 1118]
- PRODUCT_ID = [
- 65535]
- BCD = [
- 0]
- MAIN_MEMORY_VOLUME_LABEL = 'EB 511 Internal Memory'
- EBOOK_DIR_MAIN = 'e_book'
- SUPPORTS_SUB_DIRS = True
- OSX_MAIN_MEM_VOL_PAT = re.compile('/eReader')
-
-