Add entries to the welcome wizard for the Kobo and PocketBook readers

This commit is contained in:
Kovid Goyal 2010-05-06 18:48:57 -06:00
parent 5fa32e4850
commit c54008869b
2 changed files with 35 additions and 1 deletions

View File

@ -261,6 +261,18 @@ class SonyReaderOutput(OutputProfile):
fbase = 12 fbase = 12
fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24] fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24]
class KoboReaderOutput(OutputProfile):
name = 'Kobo Reader'
short_name = 'kobo'
description = _('This profile is intended for the Kobo Reader.')
screen_size = (590, 775)
dpi = 168.451
fbase = 12
fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24]
class SonyReader300Output(SonyReaderOutput): class SonyReader300Output(SonyReaderOutput):
author = 'John Schember' author = 'John Schember'
@ -461,7 +473,7 @@ class NookOutput(OutputProfile):
output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output, output_profiles = [OutputProfile, SonyReaderOutput, SonyReader300Output,
SonyReader900Output, MSReaderOutput, MobipocketOutput, HanlinV3Output, SonyReader900Output, MSReaderOutput, MobipocketOutput, HanlinV3Output,
HanlinV5Output, CybookG3Output, CybookOpusOutput, KindleOutput, HanlinV5Output, CybookG3Output, CybookOpusOutput, KindleOutput,
iPadOutput, iPadOutput, KoboReaderOutput,
SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput, SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput,
IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,] IRexDR1000Output, IRexDR800Output, JetBook5Output, NookOutput,]

View File

@ -92,6 +92,14 @@ class Sony505(Sony500):
name = 'SONY Reader 6" and Touch Edition' name = 'SONY Reader 6" and Touch Edition'
id = 'prs505' id = 'prs505'
class Kobo(Device):
name = 'Kobo Reader'
manufacturer = 'Kobo'
output_profile = 'kobo'
output_format = 'EPUB'
name = 'Kobo Reader'
id = 'kobo'
class Sony300(Sony505): class Sony300(Sony505):
name = 'SONY Reader Pocket Edition' name = 'SONY Reader Pocket Edition'
@ -125,6 +133,20 @@ class CybookOpus(CybookG3):
output_profile = 'cybook_opus' output_profile = 'cybook_opus'
id = 'cybook_opus' id = 'cybook_opus'
class PocketBook360(CybookOpus):
manufacturer = 'PocketBook'
name = 'PocketBook 360'
id = 'pocketbook360'
output_profile = 'cybook_opus'
class PocketBook(CybookG3):
manufacturer = 'PocketBook'
name = 'PocketBook 301/302'
id = 'pocketbook'
output_profile = 'cybookg3'
class iPhone(Device): class iPhone(Device):
name = 'iPad or iPhone/iTouch + Stanza' name = 'iPad or iPhone/iTouch + Stanza'