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

Type Profile

object --+    
         |    
   Profile --+
             |
            Profile


Method Summary
  __init__(self)
  convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
  GetImageOrigins(self)
  GetTargetsForImageOrigin(self, origin)
  normalisegroups(self, helper, data)
Assigns groups based on category data
  QueryAudio(self, origin, currentextension, afi)
    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 BP_Calendar_Version = 3                                                                     
tuple deviceclasses = ('serial',)
dict imageorigins = {'images': {'meta-help': 'General images'...
dict imagetargets = {'fullscreen': {'meta-help': 'Fullscreen ...
int MAX_RINGTONE_BASENAME_LENGTH = 19                                                                    
int MAX_WALLPAPER_BASENAME_LENGTH = 19                                                                    
str phone_manufacturer = 'LG Electronics Inc'
str phone_model = 'VI125'
str RINGTONE_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz012...
str serialsname = 'lgvi125'
tuple usbids = ((4100, 24576, 2), (1659, 8963, None), (1027, 2...
tuple usbids_straight = ((4100, 24576, 2),)
tuple usbids_usbtoserial = ((1659, 8963, None), (1027, 24577, ...
str WALLPAPER_CONVERT_FORMAT = 'bmp'
str WALLPAPER_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz01...
int WALLPAPER_HEIGHT = 98                                                                    
int WALLPAPER_WIDTH = 120                                                                   
    Inherited from Profile
int autodetect_delay = 0                                                                     
str DIALSTRING_CHARS = '[^0-9PT#*]'
tuple excluded_ringtone_origins = ()
tuple excluded_wallpaper_origins = ('video',)
dict field_color_data = {'todo': {'status': None, 'due_date':...
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

normalisegroups(self, helper, data)

Assigns groups based on category data

Class Variable Details

BP_Calendar_Version

Type:
int
Value:
3                                                                     

deviceclasses

Type:
tuple
Value:
('serial',)                                                            

imageorigins

Type:
dict
Value:
{'images': {'meta-help': 'General images'}}                            

imagetargets

Type:
dict
Value:
{'fullscreen': {'format': 'BMP',
                'height': 133,
                'meta-help': 'Fullscreen such as startup screen',
                'width': 120},
 'pictureid': {'format': 'BMP',
               'height': 98,
               'meta-help': 'Display as picture id for a caller',
               'width': 120},
...                                                                    

MAX_RINGTONE_BASENAME_LENGTH

Type:
int
Value:
19                                                                    

MAX_WALLPAPER_BASENAME_LENGTH

Type:
int
Value:
19                                                                    

phone_manufacturer

Type:
str
Value:
'LG Electronics Inc'                                                   

phone_model

Type:
str
Value:
'VI125'                                                                

RINGTONE_FILENAME_CHARS

Type:
str
Value:
'abcdefghijklmnopqrstuvwxyz0123456789 .'                               

serialsname

Type:
str
Value:
'lgvi125'                                                              

usbids

Type:
tuple
Value:
((4100, 24576, 2), (1659, 8963, None), (1027, 24577, None), (1841, 819\
5, None))                                                              

usbids_straight

Type:
tuple
Value:
((4100, 24576, 2),)                                                    

usbids_usbtoserial

Type:
tuple
Value:
((1659, 8963, None), (1027, 24577, None), (1841, 8195, None))          

WALLPAPER_CONVERT_FORMAT

Type:
str
Value:
'bmp'                                                                  

WALLPAPER_FILENAME_CHARS

Type:
str
Value:
'abcdefghijklmnopqrstuvwxyz0123456789 .'                               

WALLPAPER_HEIGHT

Type:
int
Value:
98                                                                    

WALLPAPER_WIDTH

Type:
int
Value:
120                                                                   

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