home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_758 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  3.1 KB  |  102 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __license__ = 'GPL v3'
  5. __copyright__ = '2009, John Schember <john at nachtimwald.com>'
  6. __docformat__ = 'restructuredtext en'
  7. import re
  8. from calibre.devices.usbms.driver import USBMS
  9.  
  10. class N516(USBMS):
  11.     name = 'N516 driver'
  12.     gui_name = 'N516'
  13.     description = _('Communicate with the Hanvon N520 eBook reader.')
  14.     author = 'John Schember'
  15.     supported_platforms = [
  16.         'windows',
  17.         'osx',
  18.         'linux']
  19.     FORMATS = [
  20.         'epub',
  21.         'prc',
  22.         'html',
  23.         'pdf',
  24.         'txt']
  25.     VENDOR_ID = [
  26.         1317]
  27.     PRODUCT_ID = [
  28.         42149]
  29.     BCD = [
  30.         803,
  31.         806,
  32.         807]
  33.     VENDOR_NAME = 'INGENIC'
  34.     WINDOWS_MAIN_MEM = '_FILE-STOR_GADGE'
  35.     MAIN_MEMORY_VOLUME_LABEL = 'N520 Internal Memory'
  36.     EBOOK_DIR_MAIN = 'e_book'
  37.     SUPPORTS_SUB_DIRS = True
  38.  
  39.  
  40. class THEBOOK(N516):
  41.     name = 'The Book driver'
  42.     gui_name = 'The Book'
  43.     description = _('Communicate with The Book reader.')
  44.     author = 'Kovid Goyal'
  45.     BCD = [
  46.         921]
  47.     MAIN_MEMORY_VOLUME_LABEL = 'The Book Main Memory'
  48.     EBOOK_DIR_MAIN = 'My books'
  49.     WINDOWS_CARD_A_MEM = '_FILE-STOR_GADGE'
  50.  
  51.  
  52. class ALEX(N516):
  53.     name = 'Alex driver'
  54.     gui_name = 'SpringDesign Alex'
  55.     description = _('Communicate with the SpringDesign Alex eBook reader.')
  56.     author = 'Kovid Goyal'
  57.     FORMATS = [
  58.         'epub',
  59.         'pdf']
  60.     VENDOR_NAME = 'ALEX'
  61.     WINDOWS_MAIN_MEM = 'READER'
  62.     MAIN_MEMORY_VOLUME_LABEL = 'Alex Internal Memory'
  63.     EBOOK_DIR_MAIN = 'eBooks'
  64.     SUPPORTS_SUB_DIRS = True
  65.  
  66.  
  67. class AZBOOKA(ALEX):
  68.     name = 'Azbooka driver'
  69.     gui_name = 'Azbooka'
  70.     description = _('Communicate with the Azbooka')
  71.     VENDOR_NAME = 'LINUX'
  72.     WINDOWS_MAIN_MEM = 'FILE-STOR_GADGET'
  73.     MAIN_MEMORY_VOLUME_LABEL = 'Azbooka Internal Memory'
  74.     EBOOK_DIR_MAIN = ''
  75.  
  76.  
  77. class EB511(USBMS):
  78.     name = 'Elonex EB 511 driver'
  79.     gui_name = 'EB 511'
  80.     description = _('Communicate with the Elonex EB 511 eBook reader.')
  81.     author = 'Kovid Goyal'
  82.     supported_platforms = [
  83.         'windows',
  84.         'osx',
  85.         'linux']
  86.     FORMATS = [
  87.         'epub',
  88.         'html',
  89.         'pdf',
  90.         'txt']
  91.     VENDOR_ID = [
  92.         1118]
  93.     PRODUCT_ID = [
  94.         65535]
  95.     BCD = [
  96.         0]
  97.     MAIN_MEMORY_VOLUME_LABEL = 'EB 511 Internal Memory'
  98.     EBOOK_DIR_MAIN = 'e_book'
  99.     SUPPORTS_SUB_DIRS = True
  100.     OSX_MAIN_MEM_VOL_PAT = re.compile('/eReader')
  101.  
  102.