home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 January / maximum-cd-2012-01.iso / DiscContents / digsby_setup.exe / lib / msn / MSNClientID.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-10-05  |  2.6 KB  |  82 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4.  
  5. class MSNCapabilities(object):
  6.     CLIENT_MOBILE = 1
  7.     MSN_EXPLORER8 = 2
  8.     INK_GIF = 4
  9.     INK_ISF = 8
  10.     WEBCAM = 16
  11.     MULTIPACKET_MSG = 32
  12.     CLIENT_MSNMOBILE = 64
  13.     CLIENT_MSNDIRECT = 128
  14.     CLIENT_WEB = 512
  15.     CLIENT_INTERNAL = 2048
  16.     SPACES = 4096
  17.     CLIENT_WINXPMCE = 8192
  18.     DIRECT_IM = 16384
  19.     WINKS = 32768
  20.     MSN_SEARCH = 65536
  21.     IS_BOT = 131072
  22.     VOICE_CLIPS = 262144
  23.     SECURE_IM = 524288
  24.     SIP_INVITES = 1048576
  25.     SIP_TUNNEL = 2097152
  26.     FILE_SHARING = 4194304
  27.     ONE_CARE = 16777216
  28.     P2P_TURN = 33554432
  29.     P2P_UUN = 67108864
  30.     MSNC1 = 268435456
  31.     MSNC2 = 536870912
  32.     MSNC3 = 805306368
  33.     MSNC4 = 1073741824
  34.     MSNC5 = 1342177280
  35.     MSNC6 = 1610612736
  36.     MSNC7 = 1879048192
  37.     MSNC8 = 0x80000000L
  38.     MSNC9 = 0x90000000L
  39.     MSNC10 = 0xA0000000L
  40.  
  41. num_to_str = {
  42.     1: 'mobile',
  43.     2: 'msn explorer 8',
  44.     4: 'ink gif support',
  45.     8: 'ink isf support',
  46.     16: 'shared webcam',
  47.     32: 'multipacket messaging',
  48.     64: 'msn mobile device',
  49.     128: 'msn direct',
  50.     512: 'web based client',
  51.     2048: 'office live client',
  52.     4096: 'msn space',
  53.     8192: 'windows xp media center',
  54.     16384: 'direct im',
  55.     32768: 'recv winks',
  56.     65536: 'msn search',
  57.     131072: 'is bot',
  58.     262144: 'recv voice clips',
  59.     524288: 'secure channel communications',
  60.     1048576: 'SIP invitations',
  61.     2097152: 'sip tunnel',
  62.     4194304: 'file sharing',
  63.     16777216: 'one care',
  64.     33554432: 'p2p turn',
  65.     67108864: 'p2p uun',
  66.     268435456: 'msnc1',
  67.     536870912: 'msnc2',
  68.     805306368: 'msnc3',
  69.     1073741824: 'msnc4',
  70.     1342177280: 'msnc5',
  71.     1610612736: 'msnc6',
  72.     1879048192: 'msnc7',
  73.     0x80000000L: 'msnc8',
  74.     0x90000000L: 'msnc9',
  75.     0xA0000000L: 'msnc10' }
  76.  
  77. def parse_client_id(num):
  78.     return (', '.join,)((lambda .0: for k in .0:
  79. if k & int(num) == k:
  80. num_to_str[k]continue)(num_to_str))
  81.  
  82.