Package phones :: Module com_lgpm225 :: Class Profile
[show private | hide private]
[frames | no frames]

Type Profile

object --+        
         |        
   Profile --+    
             |    
       Profile --+
                 |
                Profile

Known Subclasses:
Profile, Profile

Method Summary
  convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
  QueryAudio(self, origin, currentextension, afi)
    Inherited from Profile
  __init__(self)
  GetImageOrigins(self)
  GetTargetsForImageOrigin(self, origin)
  normalisegroups(self, helper, data)
Assigns groups based on category data
    Inherited from Profile
  phonize(self, str)
Convert the phone number into something the phone understands uses DIALSTRING_CHARS to compare phone number with and strips all other characters from the string
  SyncQuery(self, source, action, actiontype)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
int autodetect_delay = 3                                                                     
int BP_Calendar_Version = 3                                                                     
bool brew_required = True
str DIALSTRING_CHARS = '[^0-9PT#*]'
dict field_color_data = {'todo': {'status': False, 'due_date'...
dict imagetargets = {'wallpaper': {'meta-help': 'Display as w...
int MAX_RINGTONE_BASENAME_LENGTH = 30                                                                    
int MAX_WALLPAPER_BASENAME_LENGTH = 30                                                                    
str phone_manufacturer = 'LG Electronics Inc'
str phone_model = 'PM225'
str RINGTONE_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabc...
dict RINGTONE_LIMITS = {'MAXSIZE': 250000}
str serialsname = 'lgpm225'
str WALLPAPER_CONVERT_FORMAT = 'jpg'
str WALLPAPER_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZab...
int WALLPAPER_HEIGHT = 120                                                                   
int WALLPAPER_WIDTH = 160                                                                   
    Inherited from Profile
tuple deviceclasses = ('serial',)
dict imageorigins = {'images': {'meta-help': 'General images'...
tuple usbids = ((4100, 24576, 2), (1659, 8963, None), (1027, 2...
tuple usbids_straight = ((4100, 24576, 2),)
tuple usbids_usbtoserial = ((1659, 8963, None), (1027, 24577, ...
    Inherited from Profile
tuple excluded_ringtone_origins = ()
tuple excluded_wallpaper_origins = ('video',)
int reboot_delay = 0                                                                     
tuple ringtoneorigins = ()
dict stockimageorigins = {'images(sd)': {'meta-help': 'Genera...
dict stockimagetargets = {'outsidelcd': {'meta-help': 'Displa...

Method Details

convertphonebooktophone(self, helper, data)

Converts the data to what will be used by the phone
Parameters:
data - contains the dict returned by getfundamentals as well as where the results go
Overrides:
phones.com_lgvx4400.Profile.convertphonebooktophone

Class Variable Details

autodetect_delay

Type:
int
Value:
3                                                                     

BP_Calendar_Version

Type:
int
Value:
3                                                                     

brew_required

Type:
bool
Value:
True                                                                   

DIALSTRING_CHARS

Type:
str
Value:
'[^0-9PT#*]'                                                           

field_color_data

Type:
dict
Value:
{'calendar': {'alarm': True,
              'allday': True,
              'category': False,
              'description': True,
              'end': True,
              'location': False,
              'memo': False,
              'priority': False,
...                                                                    

imagetargets

Type:
dict
Value:
{'wallpaper': {'format': 'JPEG',
               'height': 120,
               'meta-help': 'Display as wallpaper',
               'width': 160}}                                          

MAX_RINGTONE_BASENAME_LENGTH

Type:
int
Value:
30                                                                    

MAX_WALLPAPER_BASENAME_LENGTH

Type:
int
Value:
30                                                                    

phone_manufacturer

Type:
str
Value:
'LG Electronics Inc'                                                   

phone_model

Type:
str
Value:
'PM225'                                                                

RINGTONE_FILENAME_CHARS

Type:
str
Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 .-_'   

RINGTONE_LIMITS

Type:
dict
Value:
{'MAXSIZE': 250000}                                                    

serialsname

Type:
str
Value:
'lgpm225'                                                              

WALLPAPER_CONVERT_FORMAT

Type:
str
Value:
'jpg'                                                                  

WALLPAPER_FILENAME_CHARS

Type:
str
Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 .-_'   

WALLPAPER_HEIGHT

Type:
int
Value:
120                                                                   

WALLPAPER_WIDTH

Type:
int
Value:
160                                                                   

Generated by Epydoc 2.1 on Fri Aug 15 18:58:27 2008 http://epydoc.sf.net