home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 October - Disc 3 / PCNET_CD_2006_10_3.iso / apps / ShutterflyStudioInstaller_ext.exe / Lib / mmcommon.py < prev    next >
Encoding:
Text File  |  2006-08-04  |  79.4 KB  |  1,309 lines

  1. # This file was created automatically by SWIG.
  2. # Don't modify this file, modify the SWIG interface instead.
  3. # This file is compatible with both classic and new-style classes.
  4.  
  5. import _mmcommon
  6.  
  7. def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
  8.     if (name == "this"):
  9.         if isinstance(value, class_type):
  10.             self.__dict__[name] = value.this
  11.             if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
  12.             del value.thisown
  13.             return
  14.     method = class_type.__swig_setmethods__.get(name,None)
  15.     if method: return method(self,value)
  16.     if (not static) or hasattr(self,name) or (name == "thisown"):
  17.         self.__dict__[name] = value
  18.     else:
  19.         raise AttributeError("You cannot add attributes to %s" % self)
  20.  
  21. def _swig_setattr(self,class_type,name,value):
  22.     return _swig_setattr_nondynamic(self,class_type,name,value,0)
  23.  
  24. def _swig_getattr(self,class_type,name):
  25.     method = class_type.__swig_getmethods__.get(name,None)
  26.     if method: return method(self)
  27.     raise AttributeError,name
  28.  
  29. import types
  30. try:
  31.     _object = types.ObjectType
  32.     _newclass = 1
  33. except AttributeError:
  34.     class _object : pass
  35.     _newclass = 0
  36. del types
  37.  
  38.  
  39. MMDT_DATE_WILDCARD = _mmcommon.MMDT_DATE_WILDCARD
  40. MMDT_TIME_WILDCARD = _mmcommon.MMDT_TIME_WILDCARD
  41. FILETIME_Second = _mmcommon.FILETIME_Second
  42. FILETIME_Minute = _mmcommon.FILETIME_Minute
  43. FILETIME_Hour = _mmcommon.FILETIME_Hour
  44. FILETIME_Day = _mmcommon.FILETIME_Day
  45. class MMDateTimeUtils(_object):
  46.     __swig_setmethods__ = {}
  47.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMDateTimeUtils, name, value)
  48.     __swig_getmethods__ = {}
  49.     __getattr__ = lambda self, name: _swig_getattr(self, MMDateTimeUtils, name)
  50.     def __repr__(self):
  51.         return "<%s.%s; proxy of C++ MMDateTimeUtils instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  52.     __swig_getmethods__["ToHumanString"] = lambda x: _mmcommon.MMDateTimeUtils_ToHumanString
  53.     if _newclass:ToHumanString = staticmethod(_mmcommon.MMDateTimeUtils_ToHumanString)
  54.     __swig_getmethods__["ToHumanStringForThumbnails"] = lambda x: _mmcommon.MMDateTimeUtils_ToHumanStringForThumbnails
  55.     if _newclass:ToHumanStringForThumbnails = staticmethod(_mmcommon.MMDateTimeUtils_ToHumanStringForThumbnails)
  56.     __swig_getmethods__["ToDBString"] = lambda x: _mmcommon.MMDateTimeUtils_ToDBString
  57.     if _newclass:ToDBString = staticmethod(_mmcommon.MMDateTimeUtils_ToDBString)
  58.     __swig_getmethods__["FromDBString"] = lambda x: _mmcommon.MMDateTimeUtils_FromDBString
  59.     if _newclass:FromDBString = staticmethod(_mmcommon.MMDateTimeUtils_FromDBString)
  60.     __swig_getmethods__["GetYear"] = lambda x: _mmcommon.MMDateTimeUtils_GetYear
  61.     if _newclass:GetYear = staticmethod(_mmcommon.MMDateTimeUtils_GetYear)
  62.     __swig_getmethods__["GetMonth"] = lambda x: _mmcommon.MMDateTimeUtils_GetMonth
  63.     if _newclass:GetMonth = staticmethod(_mmcommon.MMDateTimeUtils_GetMonth)
  64.     __swig_getmethods__["GetDay"] = lambda x: _mmcommon.MMDateTimeUtils_GetDay
  65.     if _newclass:GetDay = staticmethod(_mmcommon.MMDateTimeUtils_GetDay)
  66.     __swig_getmethods__["GetHour"] = lambda x: _mmcommon.MMDateTimeUtils_GetHour
  67.     if _newclass:GetHour = staticmethod(_mmcommon.MMDateTimeUtils_GetHour)
  68.     __swig_getmethods__["GetMinute"] = lambda x: _mmcommon.MMDateTimeUtils_GetMinute
  69.     if _newclass:GetMinute = staticmethod(_mmcommon.MMDateTimeUtils_GetMinute)
  70.     __swig_getmethods__["GetSecond"] = lambda x: _mmcommon.MMDateTimeUtils_GetSecond
  71.     if _newclass:GetSecond = staticmethod(_mmcommon.MMDateTimeUtils_GetSecond)
  72.     __swig_getmethods__["SetTimeToWildcard"] = lambda x: _mmcommon.MMDateTimeUtils_SetTimeToWildcard
  73.     if _newclass:SetTimeToWildcard = staticmethod(_mmcommon.MMDateTimeUtils_SetTimeToWildcard)
  74.     __swig_getmethods__["FromExifString"] = lambda x: _mmcommon.MMDateTimeUtils_FromExifString
  75.     if _newclass:FromExifString = staticmethod(_mmcommon.MMDateTimeUtils_FromExifString)
  76.     __swig_getmethods__["ToExifString"] = lambda x: _mmcommon.MMDateTimeUtils_ToExifString
  77.     if _newclass:ToExifString = staticmethod(_mmcommon.MMDateTimeUtils_ToExifString)
  78.     __swig_getmethods__["FromHTMLString"] = lambda x: _mmcommon.MMDateTimeUtils_FromHTMLString
  79.     if _newclass:FromHTMLString = staticmethod(_mmcommon.MMDateTimeUtils_FromHTMLString)
  80.     __swig_getmethods__["GetAppStartupTime"] = lambda x: _mmcommon.MMDateTimeUtils_GetAppStartupTime
  81.     if _newclass:GetAppStartupTime = staticmethod(_mmcommon.MMDateTimeUtils_GetAppStartupTime)
  82.     __swig_getmethods__["FromSysTime"] = lambda x: _mmcommon.MMDateTimeUtils_FromSysTime
  83.     if _newclass:FromSysTime = staticmethod(_mmcommon.MMDateTimeUtils_FromSysTime)
  84.     __swig_getmethods__["FromStructTM"] = lambda x: _mmcommon.MMDateTimeUtils_FromStructTM
  85.     if _newclass:FromStructTM = staticmethod(_mmcommon.MMDateTimeUtils_FromStructTM)
  86.     __swig_getmethods__["ToSysTime"] = lambda x: _mmcommon.MMDateTimeUtils_ToSysTime
  87.     if _newclass:ToSysTime = staticmethod(_mmcommon.MMDateTimeUtils_ToSysTime)
  88.     __swig_getmethods__["ToSysTimeSansWild"] = lambda x: _mmcommon.MMDateTimeUtils_ToSysTimeSansWild
  89.     if _newclass:ToSysTimeSansWild = staticmethod(_mmcommon.MMDateTimeUtils_ToSysTimeSansWild)
  90.     __swig_getmethods__["DifferenceInSeconds"] = lambda x: _mmcommon.MMDateTimeUtils_DifferenceInSeconds
  91.     if _newclass:DifferenceInSeconds = staticmethod(_mmcommon.MMDateTimeUtils_DifferenceInSeconds)
  92.     __swig_getmethods__["GetCurTime"] = lambda x: _mmcommon.MMDateTimeUtils_GetCurTime
  93.     if _newclass:GetCurTime = staticmethod(_mmcommon.MMDateTimeUtils_GetCurTime)
  94.     __swig_getmethods__["SystemTimeToTM"] = lambda x: _mmcommon.MMDateTimeUtils_SystemTimeToTM
  95.     if _newclass:SystemTimeToTM = staticmethod(_mmcommon.MMDateTimeUtils_SystemTimeToTM)
  96.     __swig_getmethods__["FILETIME2ULARGE_INTEGER"] = lambda x: _mmcommon.MMDateTimeUtils_FILETIME2ULARGE_INTEGER
  97.     if _newclass:FILETIME2ULARGE_INTEGER = staticmethod(_mmcommon.MMDateTimeUtils_FILETIME2ULARGE_INTEGER)
  98.     __swig_getmethods__["ULARGE_INTEGER2FILETIME"] = lambda x: _mmcommon.MMDateTimeUtils_ULARGE_INTEGER2FILETIME
  99.     if _newclass:ULARGE_INTEGER2FILETIME = staticmethod(_mmcommon.MMDateTimeUtils_ULARGE_INTEGER2FILETIME)
  100.     __swig_getmethods__["GetMonthDayMax"] = lambda x: _mmcommon.MMDateTimeUtils_GetMonthDayMax
  101.     if _newclass:GetMonthDayMax = staticmethod(_mmcommon.MMDateTimeUtils_GetMonthDayMax)
  102.     __swig_getmethods__["GetDayOfTheWeek"] = lambda x: _mmcommon.MMDateTimeUtils_GetDayOfTheWeek
  103.     if _newclass:GetDayOfTheWeek = staticmethod(_mmcommon.MMDateTimeUtils_GetDayOfTheWeek)
  104.     __swig_getmethods__["OffsetDays"] = lambda x: _mmcommon.MMDateTimeUtils_OffsetDays
  105.     if _newclass:OffsetDays = staticmethod(_mmcommon.MMDateTimeUtils_OffsetDays)
  106.     __swig_getmethods__["Compare"] = lambda x: _mmcommon.MMDateTimeUtils_Compare
  107.     if _newclass:Compare = staticmethod(_mmcommon.MMDateTimeUtils_Compare)
  108.     __swig_getmethods__["CondenseFileTimeRanges"] = lambda x: _mmcommon.MMDateTimeUtils_CondenseFileTimeRanges
  109.     if _newclass:CondenseFileTimeRanges = staticmethod(_mmcommon.MMDateTimeUtils_CondenseFileTimeRanges)
  110.     __swig_getmethods__["HitTestFileTimeRanges"] = lambda x: _mmcommon.MMDateTimeUtils_HitTestFileTimeRanges
  111.     if _newclass:HitTestFileTimeRanges = staticmethod(_mmcommon.MMDateTimeUtils_HitTestFileTimeRanges)
  112.     __swig_getmethods__["TrimFileTimeRanges"] = lambda x: _mmcommon.MMDateTimeUtils_TrimFileTimeRanges
  113.     if _newclass:TrimFileTimeRanges = staticmethod(_mmcommon.MMDateTimeUtils_TrimFileTimeRanges)
  114.     __swig_getmethods__["ExcludeFileTimeRange"] = lambda x: _mmcommon.MMDateTimeUtils_ExcludeFileTimeRange
  115.     if _newclass:ExcludeFileTimeRange = staticmethod(_mmcommon.MMDateTimeUtils_ExcludeFileTimeRange)
  116.     __swig_getmethods__["FileTimeRangeStart"] = lambda x: _mmcommon.MMDateTimeUtils_FileTimeRangeStart
  117.     if _newclass:FileTimeRangeStart = staticmethod(_mmcommon.MMDateTimeUtils_FileTimeRangeStart)
  118.     __swig_getmethods__["FileTimeRangeEnd"] = lambda x: _mmcommon.MMDateTimeUtils_FileTimeRangeEnd
  119.     if _newclass:FileTimeRangeEnd = staticmethod(_mmcommon.MMDateTimeUtils_FileTimeRangeEnd)
  120.     __swig_getmethods__["GetFileTimeRangeSpan"] = lambda x: _mmcommon.MMDateTimeUtils_GetFileTimeRangeSpan
  121.     if _newclass:GetFileTimeRangeSpan = staticmethod(_mmcommon.MMDateTimeUtils_GetFileTimeRangeSpan)
  122.     __swig_getmethods__["TraceFileTime"] = lambda x: _mmcommon.MMDateTimeUtils_TraceFileTime
  123.     if _newclass:TraceFileTime = staticmethod(_mmcommon.MMDateTimeUtils_TraceFileTime)
  124.     def __init__(self, *args):
  125.         _swig_setattr(self, MMDateTimeUtils, 'this', _mmcommon.new_MMDateTimeUtils(*args))
  126.         _swig_setattr(self, MMDateTimeUtils, 'thisown', 1)
  127.     def __del__(self, destroy=_mmcommon.delete_MMDateTimeUtils):
  128.         try:
  129.             if self.thisown: destroy(self)
  130.         except: pass
  131.  
  132.  
  133. class MMDateTimeUtilsPtr(MMDateTimeUtils):
  134.     def __init__(self, this):
  135.         _swig_setattr(self, MMDateTimeUtils, 'this', this)
  136.         if not hasattr(self,"thisown"): _swig_setattr(self, MMDateTimeUtils, 'thisown', 0)
  137.         _swig_setattr(self, MMDateTimeUtils,self.__class__,MMDateTimeUtils)
  138. _mmcommon.MMDateTimeUtils_swigregister(MMDateTimeUtilsPtr)
  139.  
  140. MMDateTimeUtils_ToHumanString = _mmcommon.MMDateTimeUtils_ToHumanString
  141.  
  142. MMDateTimeUtils_ToHumanStringForThumbnails = _mmcommon.MMDateTimeUtils_ToHumanStringForThumbnails
  143.  
  144. MMDateTimeUtils_ToDBString = _mmcommon.MMDateTimeUtils_ToDBString
  145.  
  146. MMDateTimeUtils_FromDBString = _mmcommon.MMDateTimeUtils_FromDBString
  147.  
  148. MMDateTimeUtils_GetYear = _mmcommon.MMDateTimeUtils_GetYear
  149.  
  150. MMDateTimeUtils_GetMonth = _mmcommon.MMDateTimeUtils_GetMonth
  151.  
  152. MMDateTimeUtils_GetDay = _mmcommon.MMDateTimeUtils_GetDay
  153.  
  154. MMDateTimeUtils_GetHour = _mmcommon.MMDateTimeUtils_GetHour
  155.  
  156. MMDateTimeUtils_GetMinute = _mmcommon.MMDateTimeUtils_GetMinute
  157.  
  158. MMDateTimeUtils_GetSecond = _mmcommon.MMDateTimeUtils_GetSecond
  159.  
  160. MMDateTimeUtils_SetTimeToWildcard = _mmcommon.MMDateTimeUtils_SetTimeToWildcard
  161.  
  162. MMDateTimeUtils_FromExifString = _mmcommon.MMDateTimeUtils_FromExifString
  163.  
  164. MMDateTimeUtils_ToExifString = _mmcommon.MMDateTimeUtils_ToExifString
  165.  
  166. MMDateTimeUtils_FromHTMLString = _mmcommon.MMDateTimeUtils_FromHTMLString
  167.  
  168. MMDateTimeUtils_GetAppStartupTime = _mmcommon.MMDateTimeUtils_GetAppStartupTime
  169.  
  170. MMDateTimeUtils_FromSysTime = _mmcommon.MMDateTimeUtils_FromSysTime
  171.  
  172. MMDateTimeUtils_FromStructTM = _mmcommon.MMDateTimeUtils_FromStructTM
  173.  
  174. MMDateTimeUtils_ToSysTime = _mmcommon.MMDateTimeUtils_ToSysTime
  175.  
  176. MMDateTimeUtils_ToSysTimeSansWild = _mmcommon.MMDateTimeUtils_ToSysTimeSansWild
  177.  
  178. MMDateTimeUtils_DifferenceInSeconds = _mmcommon.MMDateTimeUtils_DifferenceInSeconds
  179.  
  180. MMDateTimeUtils_GetCurTime = _mmcommon.MMDateTimeUtils_GetCurTime
  181.  
  182. MMDateTimeUtils_SystemTimeToTM = _mmcommon.MMDateTimeUtils_SystemTimeToTM
  183.  
  184. MMDateTimeUtils_FILETIME2ULARGE_INTEGER = _mmcommon.MMDateTimeUtils_FILETIME2ULARGE_INTEGER
  185.  
  186. MMDateTimeUtils_ULARGE_INTEGER2FILETIME = _mmcommon.MMDateTimeUtils_ULARGE_INTEGER2FILETIME
  187.  
  188. MMDateTimeUtils_GetMonthDayMax = _mmcommon.MMDateTimeUtils_GetMonthDayMax
  189.  
  190. MMDateTimeUtils_GetDayOfTheWeek = _mmcommon.MMDateTimeUtils_GetDayOfTheWeek
  191.  
  192. MMDateTimeUtils_OffsetDays = _mmcommon.MMDateTimeUtils_OffsetDays
  193.  
  194. MMDateTimeUtils_Compare = _mmcommon.MMDateTimeUtils_Compare
  195.  
  196. MMDateTimeUtils_CondenseFileTimeRanges = _mmcommon.MMDateTimeUtils_CondenseFileTimeRanges
  197.  
  198. MMDateTimeUtils_HitTestFileTimeRanges = _mmcommon.MMDateTimeUtils_HitTestFileTimeRanges
  199.  
  200. MMDateTimeUtils_TrimFileTimeRanges = _mmcommon.MMDateTimeUtils_TrimFileTimeRanges
  201.  
  202. MMDateTimeUtils_ExcludeFileTimeRange = _mmcommon.MMDateTimeUtils_ExcludeFileTimeRange
  203.  
  204. MMDateTimeUtils_FileTimeRangeStart = _mmcommon.MMDateTimeUtils_FileTimeRangeStart
  205.  
  206. MMDateTimeUtils_FileTimeRangeEnd = _mmcommon.MMDateTimeUtils_FileTimeRangeEnd
  207.  
  208. MMDateTimeUtils_GetFileTimeRangeSpan = _mmcommon.MMDateTimeUtils_GetFileTimeRangeSpan
  209.  
  210. MMDateTimeUtils_TraceFileTime = _mmcommon.MMDateTimeUtils_TraceFileTime
  211.  
  212. PREFS_MAX_STRING_SIZE = _mmcommon.PREFS_MAX_STRING_SIZE
  213. PREFS_MAX_NAME_SIZE = _mmcommon.PREFS_MAX_NAME_SIZE
  214. PREFS_USER_TYPE = _mmcommon.PREFS_USER_TYPE
  215. PREFS_HKEY_CLASSES_ROOT = _mmcommon.PREFS_HKEY_CLASSES_ROOT
  216. PREFS_NODE_TYPE = _mmcommon.PREFS_NODE_TYPE
  217. PREFS_INT_TYPE = _mmcommon.PREFS_INT_TYPE
  218. PREFS_BOOL_TYPE = _mmcommon.PREFS_BOOL_TYPE
  219. PREFS_STRING_TYPE = _mmcommon.PREFS_STRING_TYPE
  220. PREFS_BINARY_TYPE = _mmcommon.PREFS_BINARY_TYPE
  221. PREFS_UNKNOWN_TYPE = _mmcommon.PREFS_UNKNOWN_TYPE
  222. class PreferenceChangeListener(_object):
  223.     __swig_setmethods__ = {}
  224.     __setattr__ = lambda self, name, value: _swig_setattr(self, PreferenceChangeListener, name, value)
  225.     __swig_getmethods__ = {}
  226.     __getattr__ = lambda self, name: _swig_getattr(self, PreferenceChangeListener, name)
  227.     def __init__(self): raise RuntimeError, "No constructor defined"
  228.     def __repr__(self):
  229.         return "<%s.%s; proxy of C++ PreferenceChangeListener instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  230.     def __del__(self, destroy=_mmcommon.delete_PreferenceChangeListener):
  231.         try:
  232.             if self.thisown: destroy(self)
  233.         except: pass
  234.  
  235.     def preferenceChange(*args): return _mmcommon.PreferenceChangeListener_preferenceChange(*args)
  236.     def useNewThread(*args): return _mmcommon.PreferenceChangeListener_useNewThread(*args)
  237.  
  238. class PreferenceChangeListenerPtr(PreferenceChangeListener):
  239.     def __init__(self, this):
  240.         _swig_setattr(self, PreferenceChangeListener, 'this', this)
  241.         if not hasattr(self,"thisown"): _swig_setattr(self, PreferenceChangeListener, 'thisown', 0)
  242.         _swig_setattr(self, PreferenceChangeListener,self.__class__,PreferenceChangeListener)
  243. _mmcommon.PreferenceChangeListener_swigregister(PreferenceChangeListenerPtr)
  244.  
  245. class PrefChildStruct(_object):
  246.     __swig_setmethods__ = {}
  247.     __setattr__ = lambda self, name, value: _swig_setattr(self, PrefChildStruct, name, value)
  248.     __swig_getmethods__ = {}
  249.     __getattr__ = lambda self, name: _swig_getattr(self, PrefChildStruct, name)
  250.     def __repr__(self):
  251.         return "<%s.%s; proxy of C++ PrefChildStruct instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  252.     __swig_setmethods__["name"] = _mmcommon.PrefChildStruct_name_set
  253.     __swig_getmethods__["name"] = _mmcommon.PrefChildStruct_name_get
  254.     if _newclass:name = property(_mmcommon.PrefChildStruct_name_get, _mmcommon.PrefChildStruct_name_set)
  255.     __swig_setmethods__["type"] = _mmcommon.PrefChildStruct_type_set
  256.     __swig_getmethods__["type"] = _mmcommon.PrefChildStruct_type_get
  257.     if _newclass:type = property(_mmcommon.PrefChildStruct_type_get, _mmcommon.PrefChildStruct_type_set)
  258.     def __init__(self, *args):
  259.         _swig_setattr(self, PrefChildStruct, 'this', _mmcommon.new_PrefChildStruct(*args))
  260.         _swig_setattr(self, PrefChildStruct, 'thisown', 1)
  261.     def __del__(self, destroy=_mmcommon.delete_PrefChildStruct):
  262.         try:
  263.             if self.thisown: destroy(self)
  264.         except: pass
  265.  
  266.  
  267. class PrefChildStructPtr(PrefChildStruct):
  268.     def __init__(self, this):
  269.         _swig_setattr(self, PrefChildStruct, 'this', this)
  270.         if not hasattr(self,"thisown"): _swig_setattr(self, PrefChildStruct, 'thisown', 0)
  271.         _swig_setattr(self, PrefChildStruct,self.__class__,PrefChildStruct)
  272. _mmcommon.PrefChildStruct_swigregister(PrefChildStructPtr)
  273.  
  274. class MMPreferenceClass(_object):
  275.     __swig_setmethods__ = {}
  276.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMPreferenceClass, name, value)
  277.     __swig_getmethods__ = {}
  278.     __getattr__ = lambda self, name: _swig_getattr(self, MMPreferenceClass, name)
  279.     def __init__(self): raise RuntimeError, "No constructor defined"
  280.     def __repr__(self):
  281.         return "<%s.%s; proxy of C++ MMPreferenceClass instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  282.     def __del__(self, destroy=_mmcommon.delete_MMPreferenceClass):
  283.         try:
  284.             if self.thisown: destroy(self)
  285.         except: pass
  286.  
  287.     def setNode(*args): return _mmcommon.MMPreferenceClass_setNode(*args)
  288.     def getCurrentNode(*args): return _mmcommon.MMPreferenceClass_getCurrentNode(*args)
  289.     def deleteSubNode(*args): return _mmcommon.MMPreferenceClass_deleteSubNode(*args)
  290.     def getNodeChildren(*args): return _mmcommon.MMPreferenceClass_getNodeChildren(*args)
  291.     def getRootType(*args): return _mmcommon.MMPreferenceClass_getRootType(*args)
  292.     def erase(*args): return _mmcommon.MMPreferenceClass_erase(*args)
  293.     def getString(*args): return _mmcommon.MMPreferenceClass_getString(*args)
  294.     def putString(*args): return _mmcommon.MMPreferenceClass_putString(*args)
  295.     def getInt(*args): return _mmcommon.MMPreferenceClass_getInt(*args)
  296.     def putInt(*args): return _mmcommon.MMPreferenceClass_putInt(*args)
  297.     def getFloat(*args): return _mmcommon.MMPreferenceClass_getFloat(*args)
  298.     def putFloat(*args): return _mmcommon.MMPreferenceClass_putFloat(*args)
  299.     def getBinary(*args): return _mmcommon.MMPreferenceClass_getBinary(*args)
  300.     def putBinary(*args): return _mmcommon.MMPreferenceClass_putBinary(*args)
  301.  
  302. class MMPreferenceClassPtr(MMPreferenceClass):
  303.     def __init__(self, this):
  304.         _swig_setattr(self, MMPreferenceClass, 'this', this)
  305.         if not hasattr(self,"thisown"): _swig_setattr(self, MMPreferenceClass, 'thisown', 0)
  306.         _swig_setattr(self, MMPreferenceClass,self.__class__,MMPreferenceClass)
  307. _mmcommon.MMPreferenceClass_swigregister(MMPreferenceClassPtr)
  308.  
  309. class MMPrefs(_object):
  310.     __swig_setmethods__ = {}
  311.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMPrefs, name, value)
  312.     __swig_getmethods__ = {}
  313.     __getattr__ = lambda self, name: _swig_getattr(self, MMPrefs, name)
  314.     def __repr__(self):
  315.         return "<%s.%s; proxy of C++ MMPrefs instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  316.     def __init__(self, *args):
  317.         _swig_setattr(self, MMPrefs, 'this', _mmcommon.new_MMPrefs(*args))
  318.         _swig_setattr(self, MMPrefs, 'thisown', 1)
  319.     def __del__(self, destroy=_mmcommon.delete_MMPrefs):
  320.         try:
  321.             if self.thisown: destroy(self)
  322.         except: pass
  323.  
  324.     def setNode(*args): return _mmcommon.MMPrefs_setNode(*args)
  325.     def getCurrentNode(*args): return _mmcommon.MMPrefs_getCurrentNode(*args)
  326.     def deleteSubNode(*args): return _mmcommon.MMPrefs_deleteSubNode(*args)
  327.     def getNodeChildren(*args): return _mmcommon.MMPrefs_getNodeChildren(*args)
  328.     def getRootType(*args): return _mmcommon.MMPrefs_getRootType(*args)
  329.     def erase(*args): return _mmcommon.MMPrefs_erase(*args)
  330.     def getString(*args): return _mmcommon.MMPrefs_getString(*args)
  331.     def putString(*args): return _mmcommon.MMPrefs_putString(*args)
  332.     def getInt(*args): return _mmcommon.MMPrefs_getInt(*args)
  333.     def putInt(*args): return _mmcommon.MMPrefs_putInt(*args)
  334.     def getFloat(*args): return _mmcommon.MMPrefs_getFloat(*args)
  335.     def putFloat(*args): return _mmcommon.MMPrefs_putFloat(*args)
  336.     def getBinary(*args): return _mmcommon.MMPrefs_getBinary(*args)
  337.     def putBinary(*args): return _mmcommon.MMPrefs_putBinary(*args)
  338.     def getBool(*args): return _mmcommon.MMPrefs_getBool(*args)
  339.     def putBool(*args): return _mmcommon.MMPrefs_putBool(*args)
  340.     def addPreferenceChangeListener(*args): return _mmcommon.MMPrefs_addPreferenceChangeListener(*args)
  341.     def removePreferenceChangeListener(*args): return _mmcommon.MMPrefs_removePreferenceChangeListener(*args)
  342.     def removePreferenceChangeListenerById(*args): return _mmcommon.MMPrefs_removePreferenceChangeListenerById(*args)
  343.  
  344. class MMPrefsPtr(MMPrefs):
  345.     def __init__(self, this):
  346.         _swig_setattr(self, MMPrefs, 'this', this)
  347.         if not hasattr(self,"thisown"): _swig_setattr(self, MMPrefs, 'thisown', 0)
  348.         _swig_setattr(self, MMPrefs,self.__class__,MMPrefs)
  349. _mmcommon.MMPrefs_swigregister(MMPrefsPtr)
  350.  
  351. NET_USERNAME_PREF = _mmcommon.NET_USERNAME_PREF
  352. NET_PASSWORD_PREF = _mmcommon.NET_PASSWORD_PREF
  353. NET_NETWORK_NODE_PREF = _mmcommon.NET_NETWORK_NODE_PREF
  354. NET_HOSTNAME_PREF = _mmcommon.NET_HOSTNAME_PREF
  355. NET_HOSTPORT_PREF = _mmcommon.NET_HOSTPORT_PREF
  356. NET_FILE_NOT_FOUND_ERROR = _mmcommon.NET_FILE_NOT_FOUND_ERROR
  357. NET_INTERRUPTING_ERROR = _mmcommon.NET_INTERRUPTING_ERROR
  358. SFLY_FAVORITE_KEYWORD = _mmcommon.SFLY_FAVORITE_KEYWORD
  359. SFLY_RATING_KEYWORD = _mmcommon.SFLY_RATING_KEYWORD
  360. SFLY_CAPTION_KEYWORD = _mmcommon.SFLY_CAPTION_KEYWORD
  361. class MMSimpleNetProgressCallback(_object):
  362.     __swig_setmethods__ = {}
  363.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMSimpleNetProgressCallback, name, value)
  364.     __swig_getmethods__ = {}
  365.     __getattr__ = lambda self, name: _swig_getattr(self, MMSimpleNetProgressCallback, name)
  366.     def __init__(self): raise RuntimeError, "No constructor defined"
  367.     def __repr__(self):
  368.         return "<%s.%s; proxy of C++ MMSimpleNetProgressCallback instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  369.     def statusUpdate(*args): return _mmcommon.MMSimpleNetProgressCallback_statusUpdate(*args)
  370.     def IsCancelled(*args): return _mmcommon.MMSimpleNetProgressCallback_IsCancelled(*args)
  371.     def __del__(self, destroy=_mmcommon.delete_MMSimpleNetProgressCallback):
  372.         try:
  373.             if self.thisown: destroy(self)
  374.         except: pass
  375.  
  376.  
  377. class MMSimpleNetProgressCallbackPtr(MMSimpleNetProgressCallback):
  378.     def __init__(self, this):
  379.         _swig_setattr(self, MMSimpleNetProgressCallback, 'this', this)
  380.         if not hasattr(self,"thisown"): _swig_setattr(self, MMSimpleNetProgressCallback, 'thisown', 0)
  381.         _swig_setattr(self, MMSimpleNetProgressCallback,self.__class__,MMSimpleNetProgressCallback)
  382. _mmcommon.MMSimpleNetProgressCallback_swigregister(MMSimpleNetProgressCallbackPtr)
  383.  
  384. class UserStruct(_object):
  385.     __swig_setmethods__ = {}
  386.     __setattr__ = lambda self, name, value: _swig_setattr(self, UserStruct, name, value)
  387.     __swig_getmethods__ = {}
  388.     __getattr__ = lambda self, name: _swig_getattr(self, UserStruct, name)
  389.     def __repr__(self):
  390.         return "<%s.%s; proxy of C++ UserStruct instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  391.     __swig_setmethods__["name"] = _mmcommon.UserStruct_name_set
  392.     __swig_getmethods__["name"] = _mmcommon.UserStruct_name_get
  393.     if _newclass:name = property(_mmcommon.UserStruct_name_get, _mmcommon.UserStruct_name_set)
  394.     __swig_setmethods__["password"] = _mmcommon.UserStruct_password_set
  395.     __swig_getmethods__["password"] = _mmcommon.UserStruct_password_get
  396.     if _newclass:password = property(_mmcommon.UserStruct_password_get, _mmcommon.UserStruct_password_set)
  397.     __swig_setmethods__["auth_id"] = _mmcommon.UserStruct_auth_id_set
  398.     __swig_getmethods__["auth_id"] = _mmcommon.UserStruct_auth_id_get
  399.     if _newclass:auth_id = property(_mmcommon.UserStruct_auth_id_get, _mmcommon.UserStruct_auth_id_set)
  400.     def __init__(self, *args):
  401.         _swig_setattr(self, UserStruct, 'this', _mmcommon.new_UserStruct(*args))
  402.         _swig_setattr(self, UserStruct, 'thisown', 1)
  403.     def __del__(self, destroy=_mmcommon.delete_UserStruct):
  404.         try:
  405.             if self.thisown: destroy(self)
  406.         except: pass
  407.  
  408.  
  409. class UserStructPtr(UserStruct):
  410.     def __init__(self, this):
  411.         _swig_setattr(self, UserStruct, 'this', this)
  412.         if not hasattr(self,"thisown"): _swig_setattr(self, UserStruct, 'thisown', 0)
  413.         _swig_setattr(self, UserStruct,self.__class__,UserStruct)
  414. _mmcommon.UserStruct_swigregister(UserStructPtr)
  415.  
  416. class AlbumInfoStruct(_object):
  417.     __swig_setmethods__ = {}
  418.     __setattr__ = lambda self, name, value: _swig_setattr(self, AlbumInfoStruct, name, value)
  419.     __swig_getmethods__ = {}
  420.     __getattr__ = lambda self, name: _swig_getattr(self, AlbumInfoStruct, name)
  421.     def __repr__(self):
  422.         return "<%s.%s; proxy of C++ AlbumInfoStruct instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  423.     __swig_setmethods__["album_id"] = _mmcommon.AlbumInfoStruct_album_id_set
  424.     __swig_getmethods__["album_id"] = _mmcommon.AlbumInfoStruct_album_id_get
  425.     if _newclass:album_id = property(_mmcommon.AlbumInfoStruct_album_id_get, _mmcommon.AlbumInfoStruct_album_id_set)
  426.     __swig_setmethods__["title"] = _mmcommon.AlbumInfoStruct_title_set
  427.     __swig_getmethods__["title"] = _mmcommon.AlbumInfoStruct_title_get
  428.     if _newclass:title = property(_mmcommon.AlbumInfoStruct_title_get, _mmcommon.AlbumInfoStruct_title_set)
  429.     __swig_setmethods__["num_views"] = _mmcommon.AlbumInfoStruct_num_views_set
  430.     __swig_getmethods__["num_views"] = _mmcommon.AlbumInfoStruct_num_views_get
  431.     if _newclass:num_views = property(_mmcommon.AlbumInfoStruct_num_views_get, _mmcommon.AlbumInfoStruct_num_views_set)
  432.     __swig_setmethods__["update_time"] = _mmcommon.AlbumInfoStruct_update_time_set
  433.     __swig_getmethods__["update_time"] = _mmcommon.AlbumInfoStruct_update_time_get
  434.     if _newclass:update_time = property(_mmcommon.AlbumInfoStruct_update_time_get, _mmcommon.AlbumInfoStruct_update_time_set)
  435.     __swig_setmethods__["cover_view_url"] = _mmcommon.AlbumInfoStruct_cover_view_url_set
  436.     __swig_getmethods__["cover_view_url"] = _mmcommon.AlbumInfoStruct_cover_view_url_get
  437.     if _newclass:cover_view_url = property(_mmcommon.AlbumInfoStruct_cover_view_url_get, _mmcommon.AlbumInfoStruct_cover_view_url_set)
  438.     def __init__(self, *args):
  439.         _swig_setattr(self, AlbumInfoStruct, 'this', _mmcommon.new_AlbumInfoStruct(*args))
  440.         _swig_setattr(self, AlbumInfoStruct, 'thisown', 1)
  441.     def __del__(self, destroy=_mmcommon.delete_AlbumInfoStruct):
  442.         try:
  443.             if self.thisown: destroy(self)
  444.         except: pass
  445.  
  446.  
  447. class AlbumInfoStructPtr(AlbumInfoStruct):
  448.     def __init__(self, this):
  449.         _swig_setattr(self, AlbumInfoStruct, 'this', this)
  450.         if not hasattr(self,"thisown"): _swig_setattr(self, AlbumInfoStruct, 'thisown', 0)
  451.         _swig_setattr(self, AlbumInfoStruct,self.__class__,AlbumInfoStruct)
  452. _mmcommon.AlbumInfoStruct_swigregister(AlbumInfoStructPtr)
  453.  
  454. class HostPortStruct(_object):
  455.     __swig_setmethods__ = {}
  456.     __setattr__ = lambda self, name, value: _swig_setattr(self, HostPortStruct, name, value)
  457.     __swig_getmethods__ = {}
  458.     __getattr__ = lambda self, name: _swig_getattr(self, HostPortStruct, name)
  459.     def __repr__(self):
  460.         return "<%s.%s; proxy of C++ HostPortStruct instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  461.     __swig_setmethods__["name"] = _mmcommon.HostPortStruct_name_set
  462.     __swig_getmethods__["name"] = _mmcommon.HostPortStruct_name_get
  463.     if _newclass:name = property(_mmcommon.HostPortStruct_name_get, _mmcommon.HostPortStruct_name_set)
  464.     __swig_setmethods__["port"] = _mmcommon.HostPortStruct_port_set
  465.     __swig_getmethods__["port"] = _mmcommon.HostPortStruct_port_get
  466.     if _newclass:port = property(_mmcommon.HostPortStruct_port_get, _mmcommon.HostPortStruct_port_set)
  467.     def __init__(self, *args):
  468.         _swig_setattr(self, HostPortStruct, 'this', _mmcommon.new_HostPortStruct(*args))
  469.         _swig_setattr(self, HostPortStruct, 'thisown', 1)
  470.     def __del__(self, destroy=_mmcommon.delete_HostPortStruct):
  471.         try:
  472.             if self.thisown: destroy(self)
  473.         except: pass
  474.  
  475.  
  476. class HostPortStructPtr(HostPortStruct):
  477.     def __init__(self, this):
  478.         _swig_setattr(self, HostPortStruct, 'this', this)
  479.         if not hasattr(self,"thisown"): _swig_setattr(self, HostPortStruct, 'thisown', 0)
  480.         _swig_setattr(self, HostPortStruct,self.__class__,HostPortStruct)
  481. _mmcommon.HostPortStruct_swigregister(HostPortStructPtr)
  482.  
  483. HTTP_URL_ENCODED_FORM_DATA = _mmcommon.HTTP_URL_ENCODED_FORM_DATA
  484. HTTP_MULTIPART_FORM_DATA = _mmcommon.HTTP_MULTIPART_FORM_DATA
  485. NORMAL_NAME_VALUE_PAIR = _mmcommon.NORMAL_NAME_VALUE_PAIR
  486. FILE_TYPE_NAME_VALUE_PAIR = _mmcommon.FILE_TYPE_NAME_VALUE_PAIR
  487. class SimpleNetNameValuePair(_object):
  488.     __swig_setmethods__ = {}
  489.     __setattr__ = lambda self, name, value: _swig_setattr(self, SimpleNetNameValuePair, name, value)
  490.     __swig_getmethods__ = {}
  491.     __getattr__ = lambda self, name: _swig_getattr(self, SimpleNetNameValuePair, name)
  492.     def __repr__(self):
  493.         return "<%s.%s; proxy of C++ SimpleNetNameValuePair instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  494.     __swig_setmethods__["name"] = _mmcommon.SimpleNetNameValuePair_name_set
  495.     __swig_getmethods__["name"] = _mmcommon.SimpleNetNameValuePair_name_get
  496.     if _newclass:name = property(_mmcommon.SimpleNetNameValuePair_name_get, _mmcommon.SimpleNetNameValuePair_name_set)
  497.     __swig_setmethods__["value"] = _mmcommon.SimpleNetNameValuePair_value_set
  498.     __swig_getmethods__["value"] = _mmcommon.SimpleNetNameValuePair_value_get
  499.     if _newclass:value = property(_mmcommon.SimpleNetNameValuePair_value_get, _mmcommon.SimpleNetNameValuePair_value_set)
  500.     __swig_setmethods__["type"] = _mmcommon.SimpleNetNameValuePair_type_set
  501.     __swig_getmethods__["type"] = _mmcommon.SimpleNetNameValuePair_type_get
  502.     if _newclass:type = property(_mmcommon.SimpleNetNameValuePair_type_get, _mmcommon.SimpleNetNameValuePair_type_set)
  503.     __swig_setmethods__["file_name"] = _mmcommon.SimpleNetNameValuePair_file_name_set
  504.     __swig_getmethods__["file_name"] = _mmcommon.SimpleNetNameValuePair_file_name_get
  505.     if _newclass:file_name = property(_mmcommon.SimpleNetNameValuePair_file_name_get, _mmcommon.SimpleNetNameValuePair_file_name_set)
  506.     def __init__(self, *args):
  507.         _swig_setattr(self, SimpleNetNameValuePair, 'this', _mmcommon.new_SimpleNetNameValuePair(*args))
  508.         _swig_setattr(self, SimpleNetNameValuePair, 'thisown', 1)
  509.     def __del__(self, destroy=_mmcommon.delete_SimpleNetNameValuePair):
  510.         try:
  511.             if self.thisown: destroy(self)
  512.         except: pass
  513.  
  514.  
  515. class SimpleNetNameValuePairPtr(SimpleNetNameValuePair):
  516.     def __init__(self, this):
  517.         _swig_setattr(self, SimpleNetNameValuePair, 'this', this)
  518.         if not hasattr(self,"thisown"): _swig_setattr(self, SimpleNetNameValuePair, 'thisown', 0)
  519.         _swig_setattr(self, SimpleNetNameValuePair,self.__class__,SimpleNetNameValuePair)
  520. _mmcommon.SimpleNetNameValuePair_swigregister(SimpleNetNameValuePairPtr)
  521.  
  522. INTERNET_CONNECT_CALLBACK = _mmcommon.INTERNET_CONNECT_CALLBACK
  523. INTERNET_REQUEST_CALLBACK = _mmcommon.INTERNET_REQUEST_CALLBACK
  524. INTERNET_OPEN_URL_CALLBACK = _mmcommon.INTERNET_OPEN_URL_CALLBACK
  525. class NetCallbackContext(_object):
  526.     __swig_setmethods__ = {}
  527.     __setattr__ = lambda self, name, value: _swig_setattr(self, NetCallbackContext, name, value)
  528.     __swig_getmethods__ = {}
  529.     __getattr__ = lambda self, name: _swig_getattr(self, NetCallbackContext, name)
  530.     def __repr__(self):
  531.         return "<%s.%s; proxy of C++ NetCallbackContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  532.     __swig_setmethods__["our_class"] = _mmcommon.NetCallbackContext_our_class_set
  533.     __swig_getmethods__["our_class"] = _mmcommon.NetCallbackContext_our_class_get
  534.     if _newclass:our_class = property(_mmcommon.NetCallbackContext_our_class_get, _mmcommon.NetCallbackContext_our_class_set)
  535.     __swig_setmethods__["callback_type"] = _mmcommon.NetCallbackContext_callback_type_set
  536.     __swig_getmethods__["callback_type"] = _mmcommon.NetCallbackContext_callback_type_get
  537.     if _newclass:callback_type = property(_mmcommon.NetCallbackContext_callback_type_get, _mmcommon.NetCallbackContext_callback_type_set)
  538.     __swig_setmethods__["internet_handle"] = _mmcommon.NetCallbackContext_internet_handle_set
  539.     __swig_getmethods__["internet_handle"] = _mmcommon.NetCallbackContext_internet_handle_get
  540.     if _newclass:internet_handle = property(_mmcommon.NetCallbackContext_internet_handle_get, _mmcommon.NetCallbackContext_internet_handle_set)
  541.     __swig_setmethods__["total_bytes_to_be_sent"] = _mmcommon.NetCallbackContext_total_bytes_to_be_sent_set
  542.     __swig_getmethods__["total_bytes_to_be_sent"] = _mmcommon.NetCallbackContext_total_bytes_to_be_sent_get
  543.     if _newclass:total_bytes_to_be_sent = property(_mmcommon.NetCallbackContext_total_bytes_to_be_sent_get, _mmcommon.NetCallbackContext_total_bytes_to_be_sent_set)
  544.     __swig_setmethods__["total_bytes_to_be_received"] = _mmcommon.NetCallbackContext_total_bytes_to_be_received_set
  545.     __swig_getmethods__["total_bytes_to_be_received"] = _mmcommon.NetCallbackContext_total_bytes_to_be_received_get
  546.     if _newclass:total_bytes_to_be_received = property(_mmcommon.NetCallbackContext_total_bytes_to_be_received_get, _mmcommon.NetCallbackContext_total_bytes_to_be_received_set)
  547.     __swig_setmethods__["total_bytes_sent"] = _mmcommon.NetCallbackContext_total_bytes_sent_set
  548.     __swig_getmethods__["total_bytes_sent"] = _mmcommon.NetCallbackContext_total_bytes_sent_get
  549.     if _newclass:total_bytes_sent = property(_mmcommon.NetCallbackContext_total_bytes_sent_get, _mmcommon.NetCallbackContext_total_bytes_sent_set)
  550.     __swig_setmethods__["total_bytes_received"] = _mmcommon.NetCallbackContext_total_bytes_received_set
  551.     __swig_getmethods__["total_bytes_received"] = _mmcommon.NetCallbackContext_total_bytes_received_get
  552.     if _newclass:total_bytes_received = property(_mmcommon.NetCallbackContext_total_bytes_received_get, _mmcommon.NetCallbackContext_total_bytes_received_set)
  553.     __swig_setmethods__["last_callback_connected_event_complete"] = _mmcommon.NetCallbackContext_last_callback_connected_event_complete_set
  554.     __swig_getmethods__["last_callback_connected_event_complete"] = _mmcommon.NetCallbackContext_last_callback_connected_event_complete_get
  555.     if _newclass:last_callback_connected_event_complete = property(_mmcommon.NetCallbackContext_last_callback_connected_event_complete_get, _mmcommon.NetCallbackContext_last_callback_connected_event_complete_set)
  556.     __swig_setmethods__["last_callback_request_is_complete"] = _mmcommon.NetCallbackContext_last_callback_request_is_complete_set
  557.     __swig_getmethods__["last_callback_request_is_complete"] = _mmcommon.NetCallbackContext_last_callback_request_is_complete_get
  558.     if _newclass:last_callback_request_is_complete = property(_mmcommon.NetCallbackContext_last_callback_request_is_complete_get, _mmcommon.NetCallbackContext_last_callback_request_is_complete_set)
  559.     __swig_setmethods__["callback_connected_event"] = _mmcommon.NetCallbackContext_callback_connected_event_set
  560.     __swig_getmethods__["callback_connected_event"] = _mmcommon.NetCallbackContext_callback_connected_event_get
  561.     if _newclass:callback_connected_event = property(_mmcommon.NetCallbackContext_callback_connected_event_get, _mmcommon.NetCallbackContext_callback_connected_event_set)
  562.     __swig_setmethods__["callback_request_complete_event"] = _mmcommon.NetCallbackContext_callback_request_complete_event_set
  563.     __swig_getmethods__["callback_request_complete_event"] = _mmcommon.NetCallbackContext_callback_request_complete_event_get
  564.     if _newclass:callback_request_complete_event = property(_mmcommon.NetCallbackContext_callback_request_complete_event_get, _mmcommon.NetCallbackContext_callback_request_complete_event_set)
  565.     __swig_setmethods__["progress_callback"] = _mmcommon.NetCallbackContext_progress_callback_set
  566.     __swig_getmethods__["progress_callback"] = _mmcommon.NetCallbackContext_progress_callback_get
  567.     if _newclass:progress_callback = property(_mmcommon.NetCallbackContext_progress_callback_get, _mmcommon.NetCallbackContext_progress_callback_set)
  568.     __swig_setmethods__["dont_show_progress"] = _mmcommon.NetCallbackContext_dont_show_progress_set
  569.     __swig_getmethods__["dont_show_progress"] = _mmcommon.NetCallbackContext_dont_show_progress_get
  570.     if _newclass:dont_show_progress = property(_mmcommon.NetCallbackContext_dont_show_progress_get, _mmcommon.NetCallbackContext_dont_show_progress_set)
  571.     def __init__(self, *args):
  572.         _swig_setattr(self, NetCallbackContext, 'this', _mmcommon.new_NetCallbackContext(*args))
  573.         _swig_setattr(self, NetCallbackContext, 'thisown', 1)
  574.     def __del__(self, destroy=_mmcommon.delete_NetCallbackContext):
  575.         try:
  576.             if self.thisown: destroy(self)
  577.         except: pass
  578.  
  579.  
  580. class NetCallbackContextPtr(NetCallbackContext):
  581.     def __init__(self, this):
  582.         _swig_setattr(self, NetCallbackContext, 'this', this)
  583.         if not hasattr(self,"thisown"): _swig_setattr(self, NetCallbackContext, 'thisown', 0)
  584.         _swig_setattr(self, NetCallbackContext,self.__class__,NetCallbackContext)
  585. _mmcommon.NetCallbackContext_swigregister(NetCallbackContextPtr)
  586.  
  587. class URL_Parts(_object):
  588.     __swig_setmethods__ = {}
  589.     __setattr__ = lambda self, name, value: _swig_setattr(self, URL_Parts, name, value)
  590.     __swig_getmethods__ = {}
  591.     __getattr__ = lambda self, name: _swig_getattr(self, URL_Parts, name)
  592.     def __repr__(self):
  593.         return "<%s.%s; proxy of C++ URL_Parts instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  594.     __swig_setmethods__["scheme"] = _mmcommon.URL_Parts_scheme_set
  595.     __swig_getmethods__["scheme"] = _mmcommon.URL_Parts_scheme_get
  596.     if _newclass:scheme = property(_mmcommon.URL_Parts_scheme_get, _mmcommon.URL_Parts_scheme_set)
  597.     __swig_setmethods__["host"] = _mmcommon.URL_Parts_host_set
  598.     __swig_getmethods__["host"] = _mmcommon.URL_Parts_host_get
  599.     if _newclass:host = property(_mmcommon.URL_Parts_host_get, _mmcommon.URL_Parts_host_set)
  600.     __swig_setmethods__["port"] = _mmcommon.URL_Parts_port_set
  601.     __swig_getmethods__["port"] = _mmcommon.URL_Parts_port_get
  602.     if _newclass:port = property(_mmcommon.URL_Parts_port_get, _mmcommon.URL_Parts_port_set)
  603.     __swig_setmethods__["path"] = _mmcommon.URL_Parts_path_set
  604.     __swig_getmethods__["path"] = _mmcommon.URL_Parts_path_get
  605.     if _newclass:path = property(_mmcommon.URL_Parts_path_get, _mmcommon.URL_Parts_path_set)
  606.     __swig_setmethods__["extra"] = _mmcommon.URL_Parts_extra_set
  607.     __swig_getmethods__["extra"] = _mmcommon.URL_Parts_extra_get
  608.     if _newclass:extra = property(_mmcommon.URL_Parts_extra_get, _mmcommon.URL_Parts_extra_set)
  609.     def __init__(self, *args):
  610.         _swig_setattr(self, URL_Parts, 'this', _mmcommon.new_URL_Parts(*args))
  611.         _swig_setattr(self, URL_Parts, 'thisown', 1)
  612.     def __del__(self, destroy=_mmcommon.delete_URL_Parts):
  613.         try:
  614.             if self.thisown: destroy(self)
  615.         except: pass
  616.  
  617.  
  618. class URL_PartsPtr(URL_Parts):
  619.     def __init__(self, this):
  620.         _swig_setattr(self, URL_Parts, 'this', this)
  621.         if not hasattr(self,"thisown"): _swig_setattr(self, URL_Parts, 'thisown', 0)
  622.         _swig_setattr(self, URL_Parts,self.__class__,URL_Parts)
  623. _mmcommon.URL_Parts_swigregister(URL_PartsPtr)
  624.  
  625. class SimpleNet(_object):
  626.     __swig_setmethods__ = {}
  627.     __setattr__ = lambda self, name, value: _swig_setattr(self, SimpleNet, name, value)
  628.     __swig_getmethods__ = {}
  629.     __getattr__ = lambda self, name: _swig_getattr(self, SimpleNet, name)
  630.     def __repr__(self):
  631.         return "<%s.%s; proxy of C++ SimpleNet instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  632.     def __init__(self, *args):
  633.         _swig_setattr(self, SimpleNet, 'this', _mmcommon.new_SimpleNet(*args))
  634.         _swig_setattr(self, SimpleNet, 'thisown', 1)
  635.     def __del__(self, destroy=_mmcommon.delete_SimpleNet):
  636.         try:
  637.             if self.thisown: destroy(self)
  638.         except: pass
  639.  
  640.     def setCurrentSflyHostPort(*args): return _mmcommon.SimpleNet_setCurrentSflyHostPort(*args)
  641.     def getSflyAuthentication(*args): return _mmcommon.SimpleNet_getSflyAuthentication(*args)
  642.     def getSflyImageID(*args): return _mmcommon.SimpleNet_getSflyImageID(*args)
  643.     def getSflyAlbumInfo(*args): return _mmcommon.SimpleNet_getSflyAlbumInfo(*args)
  644.     def getSflyImageOffset(*args): return _mmcommon.SimpleNet_getSflyImageOffset(*args)
  645.     def uploadSflyImage(*args): return _mmcommon.SimpleNet_uploadSflyImage(*args)
  646.     def resetConnection(*args): return _mmcommon.SimpleNet_resetConnection(*args)
  647.     def clearCookies(*args): return _mmcommon.SimpleNet_clearCookies(*args)
  648.     def getURL(*args): return _mmcommon.SimpleNet_getURL(*args)
  649.     def setSflyAuthTicket(*args): return _mmcommon.SimpleNet_setSflyAuthTicket(*args)
  650.     def getFileSize(*args): return _mmcommon.SimpleNet_getFileSize(*args)
  651.     def sendHTTPPostDataRequest(*args): return _mmcommon.SimpleNet_sendHTTPPostDataRequest(*args)
  652.     def uploadFile(*args): return _mmcommon.SimpleNet_uploadFile(*args)
  653.     def uploadDirectory(*args): return _mmcommon.SimpleNet_uploadDirectory(*args)
  654.     def addToFormData(*args): return _mmcommon.SimpleNet_addToFormData(*args)
  655.     def findSFlyTokenValue(*args): return _mmcommon.SimpleNet_findSFlyTokenValue(*args)
  656.     __swig_getmethods__["usleep"] = lambda x: _mmcommon.SimpleNet_usleep
  657.     if _newclass:usleep = staticmethod(_mmcommon.SimpleNet_usleep)
  658.     __swig_getmethods__["sleep"] = lambda x: _mmcommon.SimpleNet_sleep
  659.     if _newclass:sleep = staticmethod(_mmcommon.SimpleNet_sleep)
  660.     __swig_getmethods__["interrupt"] = lambda x: _mmcommon.SimpleNet_interrupt
  661.     if _newclass:interrupt = staticmethod(_mmcommon.SimpleNet_interrupt)
  662.     def myInterrupt(*args): return _mmcommon.SimpleNet_myInterrupt(*args)
  663.     __swig_getmethods__["loadFileData"] = lambda x: _mmcommon.SimpleNet_loadFileData
  664.     if _newclass:loadFileData = staticmethod(_mmcommon.SimpleNet_loadFileData)
  665.     __swig_getmethods__["CrackURL"] = lambda x: _mmcommon.SimpleNet_CrackURL
  666.     if _newclass:CrackURL = staticmethod(_mmcommon.SimpleNet_CrackURL)
  667.     __swig_getmethods__["CreateURL"] = lambda x: _mmcommon.SimpleNet_CreateURL
  668.     if _newclass:CreateURL = staticmethod(_mmcommon.SimpleNet_CreateURL)
  669.     __swig_getmethods__["parse_url_search_path"] = lambda x: _mmcommon.SimpleNet_parse_url_search_path
  670.     if _newclass:parse_url_search_path = staticmethod(_mmcommon.SimpleNet_parse_url_search_path)
  671.     __swig_getmethods__["_GetPartnerName"] = lambda x: _mmcommon.SimpleNet__GetPartnerName
  672.     if _newclass:_GetPartnerName = staticmethod(_mmcommon.SimpleNet__GetPartnerName)
  673.     __swig_getmethods__["_GetPartnerSubName"] = lambda x: _mmcommon.SimpleNet__GetPartnerSubName
  674.     if _newclass:_GetPartnerSubName = staticmethod(_mmcommon.SimpleNet__GetPartnerSubName)
  675.  
  676. class SimpleNetPtr(SimpleNet):
  677.     def __init__(self, this):
  678.         _swig_setattr(self, SimpleNet, 'this', this)
  679.         if not hasattr(self,"thisown"): _swig_setattr(self, SimpleNet, 'thisown', 0)
  680.         _swig_setattr(self, SimpleNet,self.__class__,SimpleNet)
  681. _mmcommon.SimpleNet_swigregister(SimpleNetPtr)
  682.  
  683. SimpleNet_usleep = _mmcommon.SimpleNet_usleep
  684.  
  685. SimpleNet_sleep = _mmcommon.SimpleNet_sleep
  686.  
  687. SimpleNet_interrupt = _mmcommon.SimpleNet_interrupt
  688.  
  689. SimpleNet_loadFileData = _mmcommon.SimpleNet_loadFileData
  690.  
  691. SimpleNet_CrackURL = _mmcommon.SimpleNet_CrackURL
  692.  
  693. SimpleNet_CreateURL = _mmcommon.SimpleNet_CreateURL
  694.  
  695. SimpleNet_parse_url_search_path = _mmcommon.SimpleNet_parse_url_search_path
  696.  
  697. SimpleNet__GetPartnerName = _mmcommon.SimpleNet__GetPartnerName
  698.  
  699. SimpleNet__GetPartnerSubName = _mmcommon.SimpleNet__GetPartnerSubName
  700.  
  701. MM_FOLDER_DRIVES = _mmcommon.MM_FOLDER_DRIVES
  702. MM_FOLDER_APPDATA = _mmcommon.MM_FOLDER_APPDATA
  703. MM_FOLDER_MYPICTURES = _mmcommon.MM_FOLDER_MYPICTURES
  704. MM_FOLDER_MYDOCUMENTS = _mmcommon.MM_FOLDER_MYDOCUMENTS
  705. MM_FOLDER_MYVIDEO = _mmcommon.MM_FOLDER_MYVIDEO
  706. MM_FOLDER_MYMUSIC = _mmcommon.MM_FOLDER_MYMUSIC
  707. MM_FOLDER_DESKTOP = _mmcommon.MM_FOLDER_DESKTOP
  708. MM_FOLDER_DESKTOPDIRECTORY = _mmcommon.MM_FOLDER_DESKTOPDIRECTORY
  709. MM_FOLDER_PROGRAMS = _mmcommon.MM_FOLDER_PROGRAMS
  710. MM_FOLDER_SYSTEM = _mmcommon.MM_FOLDER_SYSTEM
  711. MM_FOLDER_WINDOWS = _mmcommon.MM_FOLDER_WINDOWS
  712. MM_FOLDER_RECENT = _mmcommon.MM_FOLDER_RECENT
  713. MM_FOLDER_TEMPORARY = _mmcommon.MM_FOLDER_TEMPORARY
  714. MM_FOLDER_LOGS = _mmcommon.MM_FOLDER_LOGS
  715. MM_FOLDER_CRASH_DUMP = _mmcommon.MM_FOLDER_CRASH_DUMP
  716. MM_FOLDER_SW_UPDATE = _mmcommon.MM_FOLDER_SW_UPDATE
  717. class NameValuePair(_object):
  718.     __swig_setmethods__ = {}
  719.     __setattr__ = lambda self, name, value: _swig_setattr(self, NameValuePair, name, value)
  720.     __swig_getmethods__ = {}
  721.     __getattr__ = lambda self, name: _swig_getattr(self, NameValuePair, name)
  722.     def __repr__(self):
  723.         return "<%s.%s; proxy of C++ NameValuePair instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  724.     __swig_setmethods__["name"] = _mmcommon.NameValuePair_name_set
  725.     __swig_getmethods__["name"] = _mmcommon.NameValuePair_name_get
  726.     if _newclass:name = property(_mmcommon.NameValuePair_name_get, _mmcommon.NameValuePair_name_set)
  727.     __swig_setmethods__["value"] = _mmcommon.NameValuePair_value_set
  728.     __swig_getmethods__["value"] = _mmcommon.NameValuePair_value_get
  729.     if _newclass:value = property(_mmcommon.NameValuePair_value_get, _mmcommon.NameValuePair_value_set)
  730.     def __init__(self, *args):
  731.         _swig_setattr(self, NameValuePair, 'this', _mmcommon.new_NameValuePair(*args))
  732.         _swig_setattr(self, NameValuePair, 'thisown', 1)
  733.     def __del__(self, destroy=_mmcommon.delete_NameValuePair):
  734.         try:
  735.             if self.thisown: destroy(self)
  736.         except: pass
  737.  
  738.  
  739. class NameValuePairPtr(NameValuePair):
  740.     def __init__(self, this):
  741.         _swig_setattr(self, NameValuePair, 'this', this)
  742.         if not hasattr(self,"thisown"): _swig_setattr(self, NameValuePair, 'thisown', 0)
  743.         _swig_setattr(self, NameValuePair,self.__class__,NameValuePair)
  744. _mmcommon.NameValuePair_swigregister(NameValuePairPtr)
  745.  
  746. class MMFileUtils(_object):
  747.     __swig_setmethods__ = {}
  748.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMFileUtils, name, value)
  749.     __swig_getmethods__ = {}
  750.     __getattr__ = lambda self, name: _swig_getattr(self, MMFileUtils, name)
  751.     def __init__(self): raise RuntimeError, "No constructor defined"
  752.     def __repr__(self):
  753.         return "<%s.%s; proxy of C++ MMFileUtils instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  754.     __swig_getmethods__["GetTemporaryFileName"] = lambda x: _mmcommon.MMFileUtils_GetTemporaryFileName
  755.     if _newclass:GetTemporaryFileName = staticmethod(_mmcommon.MMFileUtils_GetTemporaryFileName)
  756.     __swig_getmethods__["GetStandardFolderLocation"] = lambda x: _mmcommon.MMFileUtils_GetStandardFolderLocation
  757.     if _newclass:GetStandardFolderLocation = staticmethod(_mmcommon.MMFileUtils_GetStandardFolderLocation)
  758.     __swig_getmethods__["GetApplicationDataFolder"] = lambda x: _mmcommon.MMFileUtils_GetApplicationDataFolder
  759.     if _newclass:GetApplicationDataFolder = staticmethod(_mmcommon.MMFileUtils_GetApplicationDataFolder)
  760.     __swig_getmethods__["VerifyOrCreatePath"] = lambda x: _mmcommon.MMFileUtils_VerifyOrCreatePath
  761.     if _newclass:VerifyOrCreatePath = staticmethod(_mmcommon.MMFileUtils_VerifyOrCreatePath)
  762.     __swig_getmethods__["FileExists"] = lambda x: _mmcommon.MMFileUtils_FileExists
  763.     if _newclass:FileExists = staticmethod(_mmcommon.MMFileUtils_FileExists)
  764.     __swig_getmethods__["IsDirectory"] = lambda x: _mmcommon.MMFileUtils_IsDirectory
  765.     if _newclass:IsDirectory = staticmethod(_mmcommon.MMFileUtils_IsDirectory)
  766.     __swig_getmethods__["GetVolumeName"] = lambda x: _mmcommon.MMFileUtils_GetVolumeName
  767.     if _newclass:GetVolumeName = staticmethod(_mmcommon.MMFileUtils_GetVolumeName)
  768.     __swig_getmethods__["FileURLToSystemPath"] = lambda x: _mmcommon.MMFileUtils_FileURLToSystemPath
  769.     if _newclass:FileURLToSystemPath = staticmethod(_mmcommon.MMFileUtils_FileURLToSystemPath)
  770.     __swig_getmethods__["SystemPathToFileURL"] = lambda x: _mmcommon.MMFileUtils_SystemPathToFileURL
  771.     if _newclass:SystemPathToFileURL = staticmethod(_mmcommon.MMFileUtils_SystemPathToFileURL)
  772.     __swig_getmethods__["IsFileURL"] = lambda x: _mmcommon.MMFileUtils_IsFileURL
  773.     if _newclass:IsFileURL = staticmethod(_mmcommon.MMFileUtils_IsFileURL)
  774.     __swig_getmethods__["IsURL"] = lambda x: _mmcommon.MMFileUtils_IsURL
  775.     if _newclass:IsURL = staticmethod(_mmcommon.MMFileUtils_IsURL)
  776.     __swig_getmethods__["isSporkURL"] = lambda x: _mmcommon.MMFileUtils_isSporkURL
  777.     if _newclass:isSporkURL = staticmethod(_mmcommon.MMFileUtils_isSporkURL)
  778.     __swig_getmethods__["URLEscapeString"] = lambda x: _mmcommon.MMFileUtils_URLEscapeString
  779.     if _newclass:URLEscapeString = staticmethod(_mmcommon.MMFileUtils_URLEscapeString)
  780.     __swig_getmethods__["URLUnEscapeString"] = lambda x: _mmcommon.MMFileUtils_URLUnEscapeString
  781.     if _newclass:URLUnEscapeString = staticmethod(_mmcommon.MMFileUtils_URLUnEscapeString)
  782.     __swig_getmethods__["SplitPath"] = lambda x: _mmcommon.MMFileUtils_SplitPath
  783.     if _newclass:SplitPath = staticmethod(_mmcommon.MMFileUtils_SplitPath)
  784.     __swig_getmethods__["GetFileTimes"] = lambda x: _mmcommon.MMFileUtils_GetFileTimes
  785.     if _newclass:GetFileTimes = staticmethod(_mmcommon.MMFileUtils_GetFileTimes)
  786.     __swig_getmethods__["EliminateIllegalCharacters"] = lambda x: _mmcommon.MMFileUtils_EliminateIllegalCharacters
  787.     if _newclass:EliminateIllegalCharacters = staticmethod(_mmcommon.MMFileUtils_EliminateIllegalCharacters)
  788.     __swig_getmethods__["FileSizeToString"] = lambda x: _mmcommon.MMFileUtils_FileSizeToString
  789.     if _newclass:FileSizeToString = staticmethod(_mmcommon.MMFileUtils_FileSizeToString)
  790.     __swig_getmethods__["FileOpen"] = lambda x: _mmcommon.MMFileUtils_FileOpen
  791.     if _newclass:FileOpen = staticmethod(_mmcommon.MMFileUtils_FileOpen)
  792.     __swig_getmethods__["Open"] = lambda x: _mmcommon.MMFileUtils_Open
  793.     if _newclass:Open = staticmethod(_mmcommon.MMFileUtils_Open)
  794.     __swig_getmethods__["Stat"] = lambda x: _mmcommon.MMFileUtils_Stat
  795.     if _newclass:Stat = staticmethod(_mmcommon.MMFileUtils_Stat)
  796.     __swig_getmethods__["Access"] = lambda x: _mmcommon.MMFileUtils_Access
  797.     if _newclass:Access = staticmethod(_mmcommon.MMFileUtils_Access)
  798.     __swig_getmethods__["AddReadmeToPhotoBackupDirectory"] = lambda x: _mmcommon.MMFileUtils_AddReadmeToPhotoBackupDirectory
  799.     if _newclass:AddReadmeToPhotoBackupDirectory = staticmethod(_mmcommon.MMFileUtils_AddReadmeToPhotoBackupDirectory)
  800.     __swig_getmethods__["SporkifyDirectory"] = lambda x: _mmcommon.MMFileUtils_SporkifyDirectory
  801.     if _newclass:SporkifyDirectory = staticmethod(_mmcommon.MMFileUtils_SporkifyDirectory)
  802.     __swig_getmethods__["CreateDesktopIni"] = lambda x: _mmcommon.MMFileUtils_CreateDesktopIni
  803.     if _newclass:CreateDesktopIni = staticmethod(_mmcommon.MMFileUtils_CreateDesktopIni)
  804.     __swig_getmethods__["CountFiles"] = lambda x: _mmcommon.MMFileUtils_CountFiles
  805.     if _newclass:CountFiles = staticmethod(_mmcommon.MMFileUtils_CountFiles)
  806.     __swig_getmethods__["ConvertFromOneCharToAnother"] = lambda x: _mmcommon.MMFileUtils_ConvertFromOneCharToAnother
  807.     if _newclass:ConvertFromOneCharToAnother = staticmethod(_mmcommon.MMFileUtils_ConvertFromOneCharToAnother)
  808.     __swig_getmethods__["ListAllDrives"] = lambda x: _mmcommon.MMFileUtils_ListAllDrives
  809.     if _newclass:ListAllDrives = staticmethod(_mmcommon.MMFileUtils_ListAllDrives)
  810.     __swig_getmethods__["IsRemovableDrive"] = lambda x: _mmcommon.MMFileUtils_IsRemovableDrive
  811.     if _newclass:IsRemovableDrive = staticmethod(_mmcommon.MMFileUtils_IsRemovableDrive)
  812.     __swig_getmethods__["GetDefaultSecurityAttributes"] = lambda x: _mmcommon.MMFileUtils_GetDefaultSecurityAttributes
  813.     if _newclass:GetDefaultSecurityAttributes = staticmethod(_mmcommon.MMFileUtils_GetDefaultSecurityAttributes)
  814.     __swig_getmethods__["GetExePath"] = lambda x: _mmcommon.MMFileUtils_GetExePath
  815.     if _newclass:GetExePath = staticmethod(_mmcommon.MMFileUtils_GetExePath)
  816.     __swig_getmethods__["GetExeName"] = lambda x: _mmcommon.MMFileUtils_GetExeName
  817.     if _newclass:GetExeName = staticmethod(_mmcommon.MMFileUtils_GetExeName)
  818.     __swig_getmethods__["GetExeDir"] = lambda x: _mmcommon.MMFileUtils_GetExeDir
  819.     if _newclass:GetExeDir = staticmethod(_mmcommon.MMFileUtils_GetExeDir)
  820.     __swig_getmethods__["ReadDirectoryChangesW"] = lambda x: _mmcommon.MMFileUtils_ReadDirectoryChangesW
  821.     if _newclass:ReadDirectoryChangesW = staticmethod(_mmcommon.MMFileUtils_ReadDirectoryChangesW)
  822.     __swig_getmethods__["RegisterServer"] = lambda x: _mmcommon.MMFileUtils_RegisterServer
  823.     if _newclass:RegisterServer = staticmethod(_mmcommon.MMFileUtils_RegisterServer)
  824.     __swig_getmethods__["ShouldSkipDirectoryOnImport"] = lambda x: _mmcommon.MMFileUtils_ShouldSkipDirectoryOnImport
  825.     if _newclass:ShouldSkipDirectoryOnImport = staticmethod(_mmcommon.MMFileUtils_ShouldSkipDirectoryOnImport)
  826.     __swig_getmethods__["ShouldSkipDirectoryOnChange"] = lambda x: _mmcommon.MMFileUtils_ShouldSkipDirectoryOnChange
  827.     if _newclass:ShouldSkipDirectoryOnChange = staticmethod(_mmcommon.MMFileUtils_ShouldSkipDirectoryOnChange)
  828.     __swig_getmethods__["AreFilesExactlyTheSame"] = lambda x: _mmcommon.MMFileUtils_AreFilesExactlyTheSame
  829.     if _newclass:AreFilesExactlyTheSame = staticmethod(_mmcommon.MMFileUtils_AreFilesExactlyTheSame)
  830.  
  831. class MMFileUtilsPtr(MMFileUtils):
  832.     def __init__(self, this):
  833.         _swig_setattr(self, MMFileUtils, 'this', this)
  834.         if not hasattr(self,"thisown"): _swig_setattr(self, MMFileUtils, 'thisown', 0)
  835.         _swig_setattr(self, MMFileUtils,self.__class__,MMFileUtils)
  836. _mmcommon.MMFileUtils_swigregister(MMFileUtilsPtr)
  837.  
  838. MMFileUtils_GetTemporaryFileName = _mmcommon.MMFileUtils_GetTemporaryFileName
  839.  
  840. MMFileUtils_GetStandardFolderLocation = _mmcommon.MMFileUtils_GetStandardFolderLocation
  841.  
  842. MMFileUtils_GetApplicationDataFolder = _mmcommon.MMFileUtils_GetApplicationDataFolder
  843.  
  844. MMFileUtils_VerifyOrCreatePath = _mmcommon.MMFileUtils_VerifyOrCreatePath
  845.  
  846. MMFileUtils_FileExists = _mmcommon.MMFileUtils_FileExists
  847.  
  848. MMFileUtils_IsDirectory = _mmcommon.MMFileUtils_IsDirectory
  849.  
  850. MMFileUtils_GetVolumeName = _mmcommon.MMFileUtils_GetVolumeName
  851.  
  852. MMFileUtils_FileURLToSystemPath = _mmcommon.MMFileUtils_FileURLToSystemPath
  853.  
  854. MMFileUtils_SystemPathToFileURL = _mmcommon.MMFileUtils_SystemPathToFileURL
  855.  
  856. MMFileUtils_IsFileURL = _mmcommon.MMFileUtils_IsFileURL
  857.  
  858. MMFileUtils_IsURL = _mmcommon.MMFileUtils_IsURL
  859.  
  860. MMFileUtils_isSporkURL = _mmcommon.MMFileUtils_isSporkURL
  861.  
  862. MMFileUtils_URLEscapeString = _mmcommon.MMFileUtils_URLEscapeString
  863.  
  864. MMFileUtils_URLUnEscapeString = _mmcommon.MMFileUtils_URLUnEscapeString
  865.  
  866. MMFileUtils_SplitPath = _mmcommon.MMFileUtils_SplitPath
  867.  
  868. MMFileUtils_GetFileTimes = _mmcommon.MMFileUtils_GetFileTimes
  869.  
  870. MMFileUtils_EliminateIllegalCharacters = _mmcommon.MMFileUtils_EliminateIllegalCharacters
  871.  
  872. MMFileUtils_FileSizeToString = _mmcommon.MMFileUtils_FileSizeToString
  873.  
  874. MMFileUtils_FileOpen = _mmcommon.MMFileUtils_FileOpen
  875.  
  876. MMFileUtils_Open = _mmcommon.MMFileUtils_Open
  877.  
  878. MMFileUtils_Stat = _mmcommon.MMFileUtils_Stat
  879.  
  880. MMFileUtils_Access = _mmcommon.MMFileUtils_Access
  881.  
  882. MMFileUtils_AddReadmeToPhotoBackupDirectory = _mmcommon.MMFileUtils_AddReadmeToPhotoBackupDirectory
  883.  
  884. MMFileUtils_SporkifyDirectory = _mmcommon.MMFileUtils_SporkifyDirectory
  885.  
  886. MMFileUtils_CreateDesktopIni = _mmcommon.MMFileUtils_CreateDesktopIni
  887.  
  888. MMFileUtils_CountFiles = _mmcommon.MMFileUtils_CountFiles
  889.  
  890. MMFileUtils_ConvertFromOneCharToAnother = _mmcommon.MMFileUtils_ConvertFromOneCharToAnother
  891.  
  892. MMFileUtils_ListAllDrives = _mmcommon.MMFileUtils_ListAllDrives
  893.  
  894. MMFileUtils_IsRemovableDrive = _mmcommon.MMFileUtils_IsRemovableDrive
  895.  
  896. MMFileUtils_GetDefaultSecurityAttributes = _mmcommon.MMFileUtils_GetDefaultSecurityAttributes
  897.  
  898. MMFileUtils_GetExePath = _mmcommon.MMFileUtils_GetExePath
  899.  
  900. MMFileUtils_GetExeName = _mmcommon.MMFileUtils_GetExeName
  901.  
  902. MMFileUtils_GetExeDir = _mmcommon.MMFileUtils_GetExeDir
  903.  
  904. MMFileUtils_ReadDirectoryChangesW = _mmcommon.MMFileUtils_ReadDirectoryChangesW
  905.  
  906. MMFileUtils_RegisterServer = _mmcommon.MMFileUtils_RegisterServer
  907.  
  908. MMFileUtils_ShouldSkipDirectoryOnImport = _mmcommon.MMFileUtils_ShouldSkipDirectoryOnImport
  909.  
  910. MMFileUtils_ShouldSkipDirectoryOnChange = _mmcommon.MMFileUtils_ShouldSkipDirectoryOnChange
  911.  
  912. MMFileUtils_AreFilesExactlyTheSame = _mmcommon.MMFileUtils_AreFilesExactlyTheSame
  913.  
  914. class SHA1_WORKSPACE_BLOCK(_object):
  915.     __swig_setmethods__ = {}
  916.     __setattr__ = lambda self, name, value: _swig_setattr(self, SHA1_WORKSPACE_BLOCK, name, value)
  917.     __swig_getmethods__ = {}
  918.     __getattr__ = lambda self, name: _swig_getattr(self, SHA1_WORKSPACE_BLOCK, name)
  919.     def __repr__(self):
  920.         return "<%s.%s; proxy of C++ SHA1_WORKSPACE_BLOCK instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  921.     __swig_setmethods__["c"] = _mmcommon.SHA1_WORKSPACE_BLOCK_c_set
  922.     __swig_getmethods__["c"] = _mmcommon.SHA1_WORKSPACE_BLOCK_c_get
  923.     if _newclass:c = property(_mmcommon.SHA1_WORKSPACE_BLOCK_c_get, _mmcommon.SHA1_WORKSPACE_BLOCK_c_set)
  924.     __swig_setmethods__["l"] = _mmcommon.SHA1_WORKSPACE_BLOCK_l_set
  925.     __swig_getmethods__["l"] = _mmcommon.SHA1_WORKSPACE_BLOCK_l_get
  926.     if _newclass:l = property(_mmcommon.SHA1_WORKSPACE_BLOCK_l_get, _mmcommon.SHA1_WORKSPACE_BLOCK_l_set)
  927.     def __init__(self, *args):
  928.         _swig_setattr(self, SHA1_WORKSPACE_BLOCK, 'this', _mmcommon.new_SHA1_WORKSPACE_BLOCK(*args))
  929.         _swig_setattr(self, SHA1_WORKSPACE_BLOCK, 'thisown', 1)
  930.     def __del__(self, destroy=_mmcommon.delete_SHA1_WORKSPACE_BLOCK):
  931.         try:
  932.             if self.thisown: destroy(self)
  933.         except: pass
  934.  
  935.  
  936. class SHA1_WORKSPACE_BLOCKPtr(SHA1_WORKSPACE_BLOCK):
  937.     def __init__(self, this):
  938.         _swig_setattr(self, SHA1_WORKSPACE_BLOCK, 'this', this)
  939.         if not hasattr(self,"thisown"): _swig_setattr(self, SHA1_WORKSPACE_BLOCK, 'thisown', 0)
  940.         _swig_setattr(self, SHA1_WORKSPACE_BLOCK,self.__class__,SHA1_WORKSPACE_BLOCK)
  941. _mmcommon.SHA1_WORKSPACE_BLOCK_swigregister(SHA1_WORKSPACE_BLOCKPtr)
  942.  
  943. class HashResult(_object):
  944.     __swig_setmethods__ = {}
  945.     __setattr__ = lambda self, name, value: _swig_setattr(self, HashResult, name, value)
  946.     __swig_getmethods__ = {}
  947.     __getattr__ = lambda self, name: _swig_getattr(self, HashResult, name)
  948.     def __repr__(self):
  949.         return "<%s.%s; proxy of C++ HashResult instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  950.     __swig_setmethods__["msb"] = _mmcommon.HashResult_msb_set
  951.     __swig_getmethods__["msb"] = _mmcommon.HashResult_msb_get
  952.     if _newclass:msb = property(_mmcommon.HashResult_msb_get, _mmcommon.HashResult_msb_set)
  953.     __swig_setmethods__["middle"] = _mmcommon.HashResult_middle_set
  954.     __swig_getmethods__["middle"] = _mmcommon.HashResult_middle_get
  955.     if _newclass:middle = property(_mmcommon.HashResult_middle_get, _mmcommon.HashResult_middle_set)
  956.     __swig_setmethods__["lsb"] = _mmcommon.HashResult_lsb_set
  957.     __swig_getmethods__["lsb"] = _mmcommon.HashResult_lsb_get
  958.     if _newclass:lsb = property(_mmcommon.HashResult_lsb_get, _mmcommon.HashResult_lsb_set)
  959.     def __init__(self, *args):
  960.         _swig_setattr(self, HashResult, 'this', _mmcommon.new_HashResult(*args))
  961.         _swig_setattr(self, HashResult, 'thisown', 1)
  962.     def __del__(self, destroy=_mmcommon.delete_HashResult):
  963.         try:
  964.             if self.thisown: destroy(self)
  965.         except: pass
  966.  
  967.  
  968. class HashResultPtr(HashResult):
  969.     def __init__(self, this):
  970.         _swig_setattr(self, HashResult, 'this', this)
  971.         if not hasattr(self,"thisown"): _swig_setattr(self, HashResult, 'thisown', 0)
  972.         _swig_setattr(self, HashResult,self.__class__,HashResult)
  973. _mmcommon.HashResult_swigregister(HashResultPtr)
  974.  
  975. class CSHA1(_object):
  976.     __swig_setmethods__ = {}
  977.     __setattr__ = lambda self, name, value: _swig_setattr(self, CSHA1, name, value)
  978.     __swig_getmethods__ = {}
  979.     __getattr__ = lambda self, name: _swig_getattr(self, CSHA1, name)
  980.     def __repr__(self):
  981.         return "<%s.%s; proxy of C++ CSHA1 instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  982.     REPORT_HEX = _mmcommon.CSHA1_REPORT_HEX
  983.     REPORT_DIGIT = _mmcommon.CSHA1_REPORT_DIGIT
  984.     def __init__(self, *args):
  985.         _swig_setattr(self, CSHA1, 'this', _mmcommon.new_CSHA1(*args))
  986.         _swig_setattr(self, CSHA1, 'thisown', 1)
  987.     def __del__(self, destroy=_mmcommon.delete_CSHA1):
  988.         try:
  989.             if self.thisown: destroy(self)
  990.         except: pass
  991.  
  992.     def MMHashFunction(*args): return _mmcommon.CSHA1_MMHashFunction(*args)
  993.     def MMHashFunctionFromString(*args): return _mmcommon.CSHA1_MMHashFunctionFromString(*args)
  994.     def MMHashFunctionBytes(*args): return _mmcommon.CSHA1_MMHashFunctionBytes(*args)
  995.     def MMHashFunctionAsString(*args): return _mmcommon.CSHA1_MMHashFunctionAsString(*args)
  996.     def MMHashFromFile(*args): return _mmcommon.CSHA1_MMHashFromFile(*args)
  997.     def MMHashFromFileAsString(*args): return _mmcommon.CSHA1_MMHashFromFileAsString(*args)
  998.     def MMStringFromHashStruct(*args): return _mmcommon.CSHA1_MMStringFromHashStruct(*args)
  999.  
  1000. class CSHA1Ptr(CSHA1):
  1001.     def __init__(self, this):
  1002.         _swig_setattr(self, CSHA1, 'this', this)
  1003.         if not hasattr(self,"thisown"): _swig_setattr(self, CSHA1, 'thisown', 0)
  1004.         _swig_setattr(self, CSHA1,self.__class__,CSHA1)
  1005. _mmcommon.CSHA1_swigregister(CSHA1Ptr)
  1006.  
  1007. MM_PROGRESS_ID_NONE = _mmcommon.MM_PROGRESS_ID_NONE
  1008. MM_PROGRESS_STYLE_CYLON = _mmcommon.MM_PROGRESS_STYLE_CYLON
  1009. MM_PROGRESS_UNDEFINED = _mmcommon.MM_PROGRESS_UNDEFINED
  1010. MM_PROGRESS_PROCESSING = _mmcommon.MM_PROGRESS_PROCESSING
  1011. MM_PROGRESS_PAUSED = _mmcommon.MM_PROGRESS_PAUSED
  1012. MM_PROGRESS_CANCELED = _mmcommon.MM_PROGRESS_CANCELED
  1013. MM_PROGRESS_FINISHED = _mmcommon.MM_PROGRESS_FINISHED
  1014. MM_PROGRESS_ERROR = _mmcommon.MM_PROGRESS_ERROR
  1015. class MMRawProgressItem(_object):
  1016.     __swig_setmethods__ = {}
  1017.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMRawProgressItem, name, value)
  1018.     __swig_getmethods__ = {}
  1019.     __getattr__ = lambda self, name: _swig_getattr(self, MMRawProgressItem, name)
  1020.     def __repr__(self):
  1021.         return "<%s.%s; proxy of C++ MMRawProgressItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1022.     __swig_setmethods__["id"] = _mmcommon.MMRawProgressItem_id_set
  1023.     __swig_getmethods__["id"] = _mmcommon.MMRawProgressItem_id_get
  1024.     if _newclass:id = property(_mmcommon.MMRawProgressItem_id_get, _mmcommon.MMRawProgressItem_id_set)
  1025.     __swig_setmethods__["state"] = _mmcommon.MMRawProgressItem_state_set
  1026.     __swig_getmethods__["state"] = _mmcommon.MMRawProgressItem_state_get
  1027.     if _newclass:state = property(_mmcommon.MMRawProgressItem_state_get, _mmcommon.MMRawProgressItem_state_set)
  1028.     __swig_setmethods__["title"] = _mmcommon.MMRawProgressItem_title_set
  1029.     __swig_getmethods__["title"] = _mmcommon.MMRawProgressItem_title_get
  1030.     if _newclass:title = property(_mmcommon.MMRawProgressItem_title_get, _mmcommon.MMRawProgressItem_title_set)
  1031.     __swig_setmethods__["details"] = _mmcommon.MMRawProgressItem_details_set
  1032.     __swig_getmethods__["details"] = _mmcommon.MMRawProgressItem_details_get
  1033.     if _newclass:details = property(_mmcommon.MMRawProgressItem_details_get, _mmcommon.MMRawProgressItem_details_set)
  1034.     __swig_setmethods__["percentComplete"] = _mmcommon.MMRawProgressItem_percentComplete_set
  1035.     __swig_getmethods__["percentComplete"] = _mmcommon.MMRawProgressItem_percentComplete_get
  1036.     if _newclass:percentComplete = property(_mmcommon.MMRawProgressItem_percentComplete_get, _mmcommon.MMRawProgressItem_percentComplete_set)
  1037.     __swig_setmethods__["interactionFlags"] = _mmcommon.MMRawProgressItem_interactionFlags_set
  1038.     __swig_getmethods__["interactionFlags"] = _mmcommon.MMRawProgressItem_interactionFlags_get
  1039.     if _newclass:interactionFlags = property(_mmcommon.MMRawProgressItem_interactionFlags_get, _mmcommon.MMRawProgressItem_interactionFlags_set)
  1040.     __swig_setmethods__["schedulerId"] = _mmcommon.MMRawProgressItem_schedulerId_set
  1041.     __swig_getmethods__["schedulerId"] = _mmcommon.MMRawProgressItem_schedulerId_get
  1042.     if _newclass:schedulerId = property(_mmcommon.MMRawProgressItem_schedulerId_get, _mmcommon.MMRawProgressItem_schedulerId_set)
  1043.     def __init__(self, *args):
  1044.         _swig_setattr(self, MMRawProgressItem, 'this', _mmcommon.new_MMRawProgressItem(*args))
  1045.         _swig_setattr(self, MMRawProgressItem, 'thisown', 1)
  1046.     def __del__(self, destroy=_mmcommon.delete_MMRawProgressItem):
  1047.         try:
  1048.             if self.thisown: destroy(self)
  1049.         except: pass
  1050.  
  1051.  
  1052. class MMRawProgressItemPtr(MMRawProgressItem):
  1053.     def __init__(self, this):
  1054.         _swig_setattr(self, MMRawProgressItem, 'this', this)
  1055.         if not hasattr(self,"thisown"): _swig_setattr(self, MMRawProgressItem, 'thisown', 0)
  1056.         _swig_setattr(self, MMRawProgressItem,self.__class__,MMRawProgressItem)
  1057. _mmcommon.MMRawProgressItem_swigregister(MMRawProgressItemPtr)
  1058.  
  1059. MM_PROGRESS_CAN_CANCEL = _mmcommon.MM_PROGRESS_CAN_CANCEL
  1060. MM_PROGRESS_CAN_PAUSE = _mmcommon.MM_PROGRESS_CAN_PAUSE
  1061. MM_PROGRESS_CAN_REMOVE = _mmcommon.MM_PROGRESS_CAN_REMOVE
  1062. class MMProgressItemController(_object):
  1063.     __swig_setmethods__ = {}
  1064.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItemController, name, value)
  1065.     __swig_getmethods__ = {}
  1066.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItemController, name)
  1067.     def __repr__(self):
  1068.         return "<%s.%s; proxy of C++ MMProgressItemController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1069.     def __init__(self, *args):
  1070.         _swig_setattr(self, MMProgressItemController, 'this', _mmcommon.new_MMProgressItemController(*args))
  1071.         _swig_setattr(self, MMProgressItemController, 'thisown', 1)
  1072.     def __del__(self, destroy=_mmcommon.delete_MMProgressItemController):
  1073.         try:
  1074.             if self.thisown: destroy(self)
  1075.         except: pass
  1076.  
  1077.     def SetState(*args): return _mmcommon.MMProgressItemController_SetState(*args)
  1078.     def SetTitle(*args): return _mmcommon.MMProgressItemController_SetTitle(*args)
  1079.     def SetDetails(*args): return _mmcommon.MMProgressItemController_SetDetails(*args)
  1080.     def SetPercentComplete(*args): return _mmcommon.MMProgressItemController_SetPercentComplete(*args)
  1081.     def SetImage(*args): return _mmcommon.MMProgressItemController_SetImage(*args)
  1082.     def CanPause(*args): return _mmcommon.MMProgressItemController_CanPause(*args)
  1083.     def PauseOperation(*args): return _mmcommon.MMProgressItemController_PauseOperation(*args)
  1084.     def ResumeOperation(*args): return _mmcommon.MMProgressItemController_ResumeOperation(*args)
  1085.     def CanCancel(*args): return _mmcommon.MMProgressItemController_CanCancel(*args)
  1086.     def CancelOperation(*args): return _mmcommon.MMProgressItemController_CancelOperation(*args)
  1087.     def CanRemove(*args): return _mmcommon.MMProgressItemController_CanRemove(*args)
  1088.     def RemoveItem(*args): return _mmcommon.MMProgressItemController_RemoveItem(*args)
  1089.     def NotifyCallback(*args): return _mmcommon.MMProgressItemController_NotifyCallback(*args)
  1090.  
  1091. class MMProgressItemControllerPtr(MMProgressItemController):
  1092.     def __init__(self, this):
  1093.         _swig_setattr(self, MMProgressItemController, 'this', this)
  1094.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItemController, 'thisown', 0)
  1095.         _swig_setattr(self, MMProgressItemController,self.__class__,MMProgressItemController)
  1096. _mmcommon.MMProgressItemController_swigregister(MMProgressItemControllerPtr)
  1097.  
  1098. class MMProgressItemView(_object):
  1099.     __swig_setmethods__ = {}
  1100.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItemView, name, value)
  1101.     __swig_getmethods__ = {}
  1102.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItemView, name)
  1103.     def __repr__(self):
  1104.         return "<%s.%s; proxy of C++ MMProgressItemView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1105.     def __init__(self, *args):
  1106.         _swig_setattr(self, MMProgressItemView, 'this', _mmcommon.new_MMProgressItemView(*args))
  1107.         _swig_setattr(self, MMProgressItemView, 'thisown', 1)
  1108.     def __del__(self, destroy=_mmcommon.delete_MMProgressItemView):
  1109.         try:
  1110.             if self.thisown: destroy(self)
  1111.         except: pass
  1112.  
  1113.     def TaskFinished(*args): return _mmcommon.MMProgressItemView_TaskFinished(*args)
  1114.     def GetState(*args): return _mmcommon.MMProgressItemView_GetState(*args)
  1115.     def GetTitle(*args): return _mmcommon.MMProgressItemView_GetTitle(*args)
  1116.     def GetDetails(*args): return _mmcommon.MMProgressItemView_GetDetails(*args)
  1117.     def GetPercentComplete(*args): return _mmcommon.MMProgressItemView_GetPercentComplete(*args)
  1118.     def GetInteractionFlags(*args): return _mmcommon.MMProgressItemView_GetInteractionFlags(*args)
  1119.     def GetDelayed(*args): return _mmcommon.MMProgressItemView_GetDelayed(*args)
  1120.     def GetBitmap(*args): return _mmcommon.MMProgressItemView_GetBitmap(*args)
  1121.     def SetListener(*args): return _mmcommon.MMProgressItemView_SetListener(*args)
  1122.     def ClearListener(*args): return _mmcommon.MMProgressItemView_ClearListener(*args)
  1123.     def NotifyCallback(*args): return _mmcommon.MMProgressItemView_NotifyCallback(*args)
  1124.  
  1125. class MMProgressItemViewPtr(MMProgressItemView):
  1126.     def __init__(self, this):
  1127.         _swig_setattr(self, MMProgressItemView, 'this', this)
  1128.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItemView, 'thisown', 0)
  1129.         _swig_setattr(self, MMProgressItemView,self.__class__,MMProgressItemView)
  1130. _mmcommon.MMProgressItemView_swigregister(MMProgressItemViewPtr)
  1131.  
  1132. class MMProgressItemViewListener(_object):
  1133.     __swig_setmethods__ = {}
  1134.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItemViewListener, name, value)
  1135.     __swig_getmethods__ = {}
  1136.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItemViewListener, name)
  1137.     def __init__(self): raise RuntimeError, "No constructor defined"
  1138.     def __repr__(self):
  1139.         return "<%s.%s; proxy of C++ MMProgressItemViewListener instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1140.     def __del__(self, destroy=_mmcommon.delete_MMProgressItemViewListener):
  1141.         try:
  1142.             if self.thisown: destroy(self)
  1143.         except: pass
  1144.  
  1145.     def NotifyItemModified(*args): return _mmcommon.MMProgressItemViewListener_NotifyItemModified(*args)
  1146.     def NotifyItemRemoved(*args): return _mmcommon.MMProgressItemViewListener_NotifyItemRemoved(*args)
  1147.     def NotifyItemImageChanged(*args): return _mmcommon.MMProgressItemViewListener_NotifyItemImageChanged(*args)
  1148.  
  1149. class MMProgressItemViewListenerPtr(MMProgressItemViewListener):
  1150.     def __init__(self, this):
  1151.         _swig_setattr(self, MMProgressItemViewListener, 'this', this)
  1152.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItemViewListener, 'thisown', 0)
  1153.         _swig_setattr(self, MMProgressItemViewListener,self.__class__,MMProgressItemViewListener)
  1154. _mmcommon.MMProgressItemViewListener_swigregister(MMProgressItemViewListenerPtr)
  1155.  
  1156. class MMProgressItem(MMProgressItemView,MMProgressItemController):
  1157.     __swig_setmethods__ = {}
  1158.     for _s in [MMProgressItemView,MMProgressItemController]: __swig_setmethods__.update(_s.__swig_setmethods__)
  1159.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItem, name, value)
  1160.     __swig_getmethods__ = {}
  1161.     for _s in [MMProgressItemView,MMProgressItemController]: __swig_getmethods__.update(_s.__swig_getmethods__)
  1162.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItem, name)
  1163.     def __init__(self): raise RuntimeError, "No constructor defined"
  1164.     def __repr__(self):
  1165.         return "<%s.%s; proxy of C++ MMProgressItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1166.     def __del__(self, destroy=_mmcommon.delete_MMProgressItem):
  1167.         try:
  1168.             if self.thisown: destroy(self)
  1169.         except: pass
  1170.  
  1171.     def NotifyCallback(*args): return _mmcommon.MMProgressItem_NotifyCallback(*args)
  1172.  
  1173. class MMProgressItemPtr(MMProgressItem):
  1174.     def __init__(self, this):
  1175.         _swig_setattr(self, MMProgressItem, 'this', this)
  1176.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItem, 'thisown', 0)
  1177.         _swig_setattr(self, MMProgressItem,self.__class__,MMProgressItem)
  1178. _mmcommon.MMProgressItem_swigregister(MMProgressItemPtr)
  1179.  
  1180. class MMProgressItemManager(_object):
  1181.     __swig_setmethods__ = {}
  1182.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItemManager, name, value)
  1183.     __swig_getmethods__ = {}
  1184.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItemManager, name)
  1185.     def __init__(self): raise RuntimeError, "No constructor defined"
  1186.     def __repr__(self):
  1187.         return "<%s.%s; proxy of C++ MMProgressItemManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1188.     __swig_getmethods__["_CreateProgressItem"] = lambda x: _mmcommon.MMProgressItemManager__CreateProgressItem
  1189.     if _newclass:_CreateProgressItem = staticmethod(_mmcommon.MMProgressItemManager__CreateProgressItem)
  1190.     __swig_getmethods__["_GetProgressItem"] = lambda x: _mmcommon.MMProgressItemManager__GetProgressItem
  1191.     if _newclass:_GetProgressItem = staticmethod(_mmcommon.MMProgressItemManager__GetProgressItem)
  1192.     __swig_getmethods__["_FreeProgressItem"] = lambda x: _mmcommon.MMProgressItemManager__FreeProgressItem
  1193.     if _newclass:_FreeProgressItem = staticmethod(_mmcommon.MMProgressItemManager__FreeProgressItem)
  1194.     __swig_getmethods__["_GetAllActiveProgressItemIds"] = lambda x: _mmcommon.MMProgressItemManager__GetAllActiveProgressItemIds
  1195.     if _newclass:_GetAllActiveProgressItemIds = staticmethod(_mmcommon.MMProgressItemManager__GetAllActiveProgressItemIds)
  1196.     __swig_getmethods__["_Clear"] = lambda x: _mmcommon.MMProgressItemManager__Clear
  1197.     if _newclass:_Clear = staticmethod(_mmcommon.MMProgressItemManager__Clear)
  1198.     __swig_getmethods__["_RefreshStatus"] = lambda x: _mmcommon.MMProgressItemManager__RefreshStatus
  1199.     if _newclass:_RefreshStatus = staticmethod(_mmcommon.MMProgressItemManager__RefreshStatus)
  1200.  
  1201. class MMProgressItemManagerPtr(MMProgressItemManager):
  1202.     def __init__(self, this):
  1203.         _swig_setattr(self, MMProgressItemManager, 'this', this)
  1204.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItemManager, 'thisown', 0)
  1205.         _swig_setattr(self, MMProgressItemManager,self.__class__,MMProgressItemManager)
  1206. _mmcommon.MMProgressItemManager_swigregister(MMProgressItemManagerPtr)
  1207.  
  1208. MMProgressItemManager__CreateProgressItem = _mmcommon.MMProgressItemManager__CreateProgressItem
  1209.  
  1210. MMProgressItemManager__GetProgressItem = _mmcommon.MMProgressItemManager__GetProgressItem
  1211.  
  1212. MMProgressItemManager__FreeProgressItem = _mmcommon.MMProgressItemManager__FreeProgressItem
  1213.  
  1214. MMProgressItemManager__GetAllActiveProgressItemIds = _mmcommon.MMProgressItemManager__GetAllActiveProgressItemIds
  1215.  
  1216. MMProgressItemManager__Clear = _mmcommon.MMProgressItemManager__Clear
  1217.  
  1218. MMProgressItemManager__RefreshStatus = _mmcommon.MMProgressItemManager__RefreshStatus
  1219.  
  1220. class MMProgressItemHint(_object):
  1221.     __swig_setmethods__ = {}
  1222.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressItemHint, name, value)
  1223.     __swig_getmethods__ = {}
  1224.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressItemHint, name)
  1225.     def __init__(self): raise RuntimeError, "No constructor defined"
  1226.     def __repr__(self):
  1227.         return "<%s.%s; proxy of C++ MMProgressItemHint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1228.     def __del__(self, destroy=_mmcommon.delete_MMProgressItemHint):
  1229.         try:
  1230.             if self.thisown: destroy(self)
  1231.         except: pass
  1232.  
  1233.     __swig_setmethods__["rawItemData"] = _mmcommon.MMProgressItemHint_rawItemData_set
  1234.     __swig_getmethods__["rawItemData"] = _mmcommon.MMProgressItemHint_rawItemData_get
  1235.     if _newclass:rawItemData = property(_mmcommon.MMProgressItemHint_rawItemData_get, _mmcommon.MMProgressItemHint_rawItemData_set)
  1236.  
  1237. class MMProgressItemHintPtr(MMProgressItemHint):
  1238.     def __init__(self, this):
  1239.         _swig_setattr(self, MMProgressItemHint, 'this', this)
  1240.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressItemHint, 'thisown', 0)
  1241.         _swig_setattr(self, MMProgressItemHint,self.__class__,MMProgressItemHint)
  1242. _mmcommon.MMProgressItemHint_swigregister(MMProgressItemHintPtr)
  1243.  
  1244. class MMProgressImageHint(_object):
  1245.     __swig_setmethods__ = {}
  1246.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressImageHint, name, value)
  1247.     __swig_getmethods__ = {}
  1248.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressImageHint, name)
  1249.     def __init__(self): raise RuntimeError, "No constructor defined"
  1250.     def __repr__(self):
  1251.         return "<%s.%s; proxy of C++ MMProgressImageHint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1252.     def __del__(self, destroy=_mmcommon.delete_MMProgressImageHint):
  1253.         try:
  1254.             if self.thisown: destroy(self)
  1255.         except: pass
  1256.  
  1257.     __swig_setmethods__["itemId"] = _mmcommon.MMProgressImageHint_itemId_set
  1258.     __swig_getmethods__["itemId"] = _mmcommon.MMProgressImageHint_itemId_get
  1259.     if _newclass:itemId = property(_mmcommon.MMProgressImageHint_itemId_get, _mmcommon.MMProgressImageHint_itemId_set)
  1260.  
  1261. class MMProgressImageHintPtr(MMProgressImageHint):
  1262.     def __init__(self, this):
  1263.         _swig_setattr(self, MMProgressImageHint, 'this', this)
  1264.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressImageHint, 'thisown', 0)
  1265.         _swig_setattr(self, MMProgressImageHint,self.__class__,MMProgressImageHint)
  1266. _mmcommon.MMProgressImageHint_swigregister(MMProgressImageHintPtr)
  1267.  
  1268. class MMProgressManagerHint(_object):
  1269.     __swig_setmethods__ = {}
  1270.     __setattr__ = lambda self, name, value: _swig_setattr(self, MMProgressManagerHint, name, value)
  1271.     __swig_getmethods__ = {}
  1272.     __getattr__ = lambda self, name: _swig_getattr(self, MMProgressManagerHint, name)
  1273.     def __init__(self): raise RuntimeError, "No constructor defined"
  1274.     def __repr__(self):
  1275.         return "<%s.%s; proxy of C++ MMProgressManagerHint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
  1276.     MM_PROGRESS_STATUS_ITEM_ADDED = _mmcommon.MMProgressManagerHint_MM_PROGRESS_STATUS_ITEM_ADDED
  1277.     MM_PROGRESS_STATUS_ITEM_REMOVED = _mmcommon.MMProgressManagerHint_MM_PROGRESS_STATUS_ITEM_REMOVED
  1278.     MM_PROGRESS_STATUS_PROCESSING = _mmcommon.MMProgressManagerHint_MM_PROGRESS_STATUS_PROCESSING
  1279.     MM_PROGRESS_STATUS_COMPLETED = _mmcommon.MMProgressManagerHint_MM_PROGRESS_STATUS_COMPLETED
  1280.     MM_PROGRESS_STATUS_REFRESH = _mmcommon.MMProgressManagerHint_MM_PROGRESS_STATUS_REFRESH
  1281.     def __del__(self, destroy=_mmcommon.delete_MMProgressManagerHint):
  1282.         try:
  1283.             if self.thisown: destroy(self)
  1284.         except: pass
  1285.  
  1286.     __swig_setmethods__["message"] = _mmcommon.MMProgressManagerHint_message_set
  1287.     __swig_getmethods__["message"] = _mmcommon.MMProgressManagerHint_message_get
  1288.     if _newclass:message = property(_mmcommon.MMProgressManagerHint_message_get, _mmcommon.MMProgressManagerHint_message_set)
  1289.     __swig_setmethods__["messageData"] = _mmcommon.MMProgressManagerHint_messageData_set
  1290.     __swig_getmethods__["messageData"] = _mmcommon.MMProgressManagerHint_messageData_get
  1291.     if _newclass:messageData = property(_mmcommon.MMProgressManagerHint_messageData_get, _mmcommon.MMProgressManagerHint_messageData_set)
  1292.     __swig_getmethods__["_DeMuxProcessingData"] = lambda x: _mmcommon.MMProgressManagerHint__DeMuxProcessingData
  1293.     if _newclass:_DeMuxProcessingData = staticmethod(_mmcommon.MMProgressManagerHint__DeMuxProcessingData)
  1294.     __swig_getmethods__["_MuxProcessingData"] = lambda x: _mmcommon.MMProgressManagerHint__MuxProcessingData
  1295.     if _newclass:_MuxProcessingData = staticmethod(_mmcommon.MMProgressManagerHint__MuxProcessingData)
  1296.  
  1297. class MMProgressManagerHintPtr(MMProgressManagerHint):
  1298.     def __init__(self, this):
  1299.         _swig_setattr(self, MMProgressManagerHint, 'this', this)
  1300.         if not hasattr(self,"thisown"): _swig_setattr(self, MMProgressManagerHint, 'thisown', 0)
  1301.         _swig_setattr(self, MMProgressManagerHint,self.__class__,MMProgressManagerHint)
  1302. _mmcommon.MMProgressManagerHint_swigregister(MMProgressManagerHintPtr)
  1303.  
  1304. MMProgressManagerHint__DeMuxProcessingData = _mmcommon.MMProgressManagerHint__DeMuxProcessingData
  1305.  
  1306. MMProgressManagerHint__MuxProcessingData = _mmcommon.MMProgressManagerHint__MuxProcessingData
  1307.  
  1308.  
  1309.