# Path: IApp.py
# class IApp(object):
#     '''
#     classdocs
#     '''
#     name = "Unknown"
#     cname = "Unknown"
#     databases = {}
#     known = False
#     dummyRE = type(re.compile("nfi"))
#     version = [-1]
#     
#     def get_versions(self):
#         return self.version
#     
#     def has_defaultversion(self):
#         if IDeviceVersion.DEFAULT_VERSION in self.version:
#             return True
#         return False
#     
#     def has_version(self,appversion):
#         if appversion in self.version:
#             return True
#         return False
#     
#     def get_packagename(self):
#         return self.name
#     
#     def get_canonicalname(self):
#         return self.cname
#     
#     def get_files(self):
#         return self.databases
#     
#     def get_file_info(self, dbname):
#         if len(self.databases) == 0:
#             return None
#         for thisdbname,defn in self.databases.iteritems():
#             if type(thisdbname) == type("str"):
#                 if thisdbname == dbname:
#                     return defn
#             elif type(thisdbname) == self.dummyRE:
#                 if thisdbname.match(dbname) != None:
#                     return defn
#         return None
#     
#     def set_packagename(self, name):
#         self.name = name
#     
#     def __init__(self):
#         return
# 
# class KnownTable(object):
#     name = None
#     sql = None
#     converter = None
#     knownfields = None
#     def __init__(self, table_name, parse_sql, converter=None, knownfields=None ):
#         self.name = table_name
#         self.sql = parse_sql
#         self.converter = converter
#         self.knownfields = knownfields
# 
# class DataTypes(object):
#     EMPTY = 0
#     DATA = 1
#     TEXT = 2
#     DATE = 3


from IApp import IApp, KnownTable, DataTypes
import ConvertUtils
                 'mood_timestamp': ConvertUtils.UnixTimestamp,
                 'authorized_time': ConvertUtils.UnixTimestamp,},
                {'registration_timestamp': DataTypes.DATE,
                 'profile_timestamp': DataTypes.DATE,
                 'lastonline_timestamp': DataTypes.DATE,
                 'lastused_timestamp': DataTypes.DATE,
                 'mood_timestamp': DataTypes.DATE,
                 'authorized_time': DataTypes.DATE,}),
            KnownTable('Alerts', None,
                {'timestamp': ConvertUtils.UnixTimestamp,
                 "meta_expiry": ConvertUtils.UnixTimestamp},
                {'timestamp': DataTypes.DATE,
                 "meta_expiry":DataTypes.DATE}),
            KnownTable('CallMembers', None,
                {'next_redial_time': ConvertUtils.UnixTimestamp,
                 'start_timestamp': ConvertUtils.UnixTimestamp,
                 'creation_timestamp': ConvertUtils.UnixTimestamp},
                {'next_redial_time': DataTypes.DATE,
                 'start_timestamp': DataTypes.DATE,
                 'creation_timestamp': DataTypes.DATE}),
            KnownTable('Calls', None,
                {'begin_timestamp': ConvertUtils.UnixTimestamp,
                 'start_timestamp': ConvertUtils.UnixTimestamp},
                {'begin_timestamp': DataTypes.DATE,
                 'start_timestamp': DataTypes.DATE}),
            KnownTable('Chats', None,
                {'timestamp': ConvertUtils.UnixTimestamp,
                 'activity_timestamp': ConvertUtils.UnixTimestamp},
                {'timestamp': DataTypes.DATE,
                 'activity_timestamp': DataTypes.DATE}),

# Path: IApp.py
# class IApp(object):
#     '''
#     classdocs
#     '''
#     name = "Unknown"
#     cname = "Unknown"
#     databases = {}
#     known = False
#     dummyRE = type(re.compile("nfi"))
#     version = [-1]
#     
#     def get_versions(self):
#         return self.version
#     
#     def has_defaultversion(self):
#         if IDeviceVersion.DEFAULT_VERSION in self.version:
#             return True
#         return False
#     
#     def has_version(self,appversion):
#         if appversion in self.version:
#             return True
#         return False
#     
#     def get_packagename(self):
#         return self.name
#     
#     def get_canonicalname(self):
#         return self.cname
#     
#     def get_files(self):
#         return self.databases
#     
#     def get_file_info(self, dbname):
#         if len(self.databases) == 0:
#             return None
#         for thisdbname,defn in self.databases.iteritems():
#             if type(thisdbname) == type("str"):
#                 if thisdbname == dbname:
#                     return defn
#             elif type(thisdbname) == self.dummyRE:
#                 if thisdbname.match(dbname) != None:
#                     return defn
#         return None
#     
#     def set_packagename(self, name):
#         self.name = name
#     
#     def __init__(self):
#         return
# 
# class KnownTable(object):
#     name = None
#     sql = None
#     converter = None
#     knownfields = None
#     def __init__(self, table_name, parse_sql, converter=None, knownfields=None ):
#         self.name = table_name
#         self.sql = parse_sql
#         self.converter = converter
#         self.knownfields = knownfields
# 
# class DataTypes(object):
#     EMPTY = 0
#     DATA = 1
#     TEXT = 2
#     DATE = 3


# Path: AndroidApps/com_skype_raider.py
from IApp import IApp, KnownTable, DataTypes
import ConvertUtils

                 'mood_timestamp': ConvertUtils.UnixTimestamp,
                 'authorized_time': ConvertUtils.UnixTimestamp,},
                {'registration_timestamp': DataTypes.DATE,
                 'profile_timestamp': DataTypes.DATE,
                 'lastonline_timestamp': DataTypes.DATE,
                 'lastused_timestamp': DataTypes.DATE,
                 'mood_timestamp': DataTypes.DATE,
                 'authorized_time': DataTypes.DATE,}),
            KnownTable('Alerts', None,
                {'timestamp': ConvertUtils.UnixTimestamp,
                 "meta_expiry": ConvertUtils.UnixTimestamp},
                {'timestamp': DataTypes.DATE,
                 "meta_expiry":DataTypes.DATE}),
            KnownTable('CallMembers', None,
                {'next_redial_time': ConvertUtils.UnixTimestamp,
                 'start_timestamp': ConvertUtils.UnixTimestamp,
                 'creation_timestamp': ConvertUtils.UnixTimestamp},
                {'next_redial_time': DataTypes.DATE,
                 'start_timestamp': DataTypes.DATE,
                 'creation_timestamp': DataTypes.DATE}),
            KnownTable('Calls', None,
                {'begin_timestamp': ConvertUtils.UnixTimestamp,
                 'start_timestamp': ConvertUtils.UnixTimestamp},
                {'begin_timestamp': DataTypes.DATE,
                 'start_timestamp': DataTypes.DATE}),
            KnownTable('Chats', None,
                {'timestamp': ConvertUtils.UnixTimestamp,
                 'activity_timestamp': ConvertUtils.UnixTimestamp},
                {'timestamp': DataTypes.DATE,
                 'activity_timestamp': DataTypes.DATE}),

            KnownTable('Contacts', None,