Package phones :: Module com_sanyo7300
[hide private]
[frames] | no frames]

Source Code for Module phones.com_sanyo7300

 1  ### BITPIM 
 2  ### 
 3  ### Copyright (C) 2004 Stephen Wood <sawecw@users.sf.net> 
 4  ### 
 5  ### This program is free software; you can redistribute it and/or modify 
 6  ### it under the terms of the BitPim license as detailed in the LICENSE file. 
 7  ### 
 8  ### $Id: com_sanyo7300.py 2321 2005-04-23 01:12:49Z sawecw $ 
 9   
10  """Talk to the Sanyo SCP-7300 (RL2000) cell phone""" 
11   
12  # my modules 
13  import common 
14  import p_sanyo7300 
15  import com_brew 
16  import com_phone 
17  import com_sanyo 
18  import com_sanyomedia 
19  import com_sanyonewer 
20  import prototypes 
21   
22   
23 -class Phone(com_sanyonewer.Phone):
24 "Talk to the Sanyo SCP-7300 cell phone" 25 26 desc="SCP-7300" 27 28 FIRST_MEDIA_DIRECTORY=2 29 LAST_MEDIA_DIRECTORY=3 30 31 imagelocations=( 32 # offset, directory #, indexflag, type, maximumentries 33 ) 34 35 protocolclass=p_sanyo7300 36 serialsname='scp7300' 37 38 calendar_defaultringtone=4 39
40 - def __init__(self, logtarget, commport):
41 com_sanyonewer.Phone.__init__(self, logtarget, commport) 42 self.mode=self.MODENONE
43
44 -class Profile(com_sanyonewer.Profile):
45 46 protocolclass=Phone.protocolclass 47 serialsname=Phone.serialsname 48 phone_manufacturer='SANYO' 49 phone_model='SCP-7300/US' 50 51 WALLPAPER_WIDTH=132 52 WALLPAPER_HEIGHT=176 53 OVERSIZE_PERCENTAGE=100 54
55 - def __init__(self):
57