home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- makepy_version = '0.4.98'
- python_version = 33948144
- import win32com.client.CLSIDToClass as win32com
- import pythoncom
- import win32com.client.util as win32com
- from pywintypes import IID
- from win32com.client import Dispatch
- defaultNamedOptArg = pythoncom.Empty
- defaultNamedNotOptArg = pythoncom.Empty
- defaultUnnamedArg = pythoncom.Empty
- CLSID = IID('{3F4DACA7-160D-11D2-A8E9-00104B365C9F}')
- MajorVersion = 5
- MinorVersion = 5
- LibraryFlags = 8
- LCID = 0
- from win32com.client import DispatchBaseClass
-
- class IMatchCollection2(DispatchBaseClass):
- CLSID = IID('{3F4DACB2-160D-11D2-A8E9-00104B365C9F}')
- coclass_clsid = IID('{3F4DACA6-160D-11D2-A8E9-00104B365C9F}')
-
- def Item(self, index = defaultNamedNotOptArg):
- ret = self._oleobj_.InvokeTypes(0, LCID, 2, (9, 0), ((3, 1),), index)
- if ret is not None:
- ret = Dispatch(ret, u'Item', None, UnicodeToString = 0)
-
- return ret
-
- _prop_map_get_ = {
- 'Count': (1, 2, (3, 0), (), 'Count', None) }
- _prop_map_put_ = { }
-
- def __call__(self, index = defaultNamedNotOptArg):
- ret = self._oleobj_.InvokeTypes(0, LCID, 2, (9, 0), ((3, 1),), index)
- if ret is not None:
- ret = Dispatch(ret, '__call__', None, UnicodeToString = 0)
-
- return ret
-
-
- def __unicode__(self, *args):
-
- try:
- return unicode(self.__call__(*args))
- except pythoncom.com_error:
- return repr(self)
-
-
-
- def __str__(self, *args):
- return str(self.__unicode__(*args))
-
-
- def __int__(self, *args):
- return int(self.__call__(*args))
-
-
- def __iter__(self):
- ob = self._oleobj_.InvokeTypes(-4, LCID, 2, (13, 10), ())
- return win32com.client.util.Iterator(ob, None)
-
-
- def _NewEnum(self):
- return win32com.client.util.WrapEnum(self._oleobj_.InvokeTypes(-4, LCID, 2, (13, 10), ()), None)
-
-
- def __getitem__(self, index):
- if not self.__dict__.has_key('_enum_'):
- self.__dict__['_enum_'] = self._NewEnum()
-
- return self._enum_.__getitem__(index)
-
-
- def __len__(self):
- return self._ApplyTypes_(*(1, 2, (3, 0), (), 'Count', None))
-
-
- def __nonzero__(self):
- return True
-
-
- win32com.client.CLSIDToClass.RegisterCLSID('{3F4DACB2-160D-11D2-A8E9-00104B365C9F}', IMatchCollection2)
- makepy_version = '0.4.98'
- python_version = 33948144
- import win32com.client.CLSIDToClass as win32com
- import pythoncom
- import win32com.client.util as win32com
- from pywintypes import IID
- from win32com.client import Dispatch
- defaultNamedOptArg = pythoncom.Empty
- defaultNamedNotOptArg = pythoncom.Empty
- defaultUnnamedArg = pythoncom.Empty
- CLSID = IID('{3F4DACA7-160D-11D2-A8E9-00104B365C9F}')
- MajorVersion = 5
- MinorVersion = 5
- LibraryFlags = 8
- LCID = 0
- IMatchCollection2_vtables_dispatch_ = 1
- IMatchCollection2_vtables_ = [
- ((u'Item', u'index', u'ppMatch'), 0, (0, (), [
- (3, 1, None, None),
- (16393, 10, None, None)], 1, 2, 4, 0, 28, (3, 0, None, None), 0)),
- ((u'Count', u'pCount'), 1, (1, (), [
- (16387, 10, None, None)], 1, 2, 4, 0, 32, (3, 0, None, None), 0)),
- ((u'_NewEnum', u'ppEnum'), -4, (-4, (), [
- (16397, 10, None, None)], 1, 2, 4, 0, 36, (3, 0, None, None), 0))]
- win32com.client.CLSIDToClass.RegisterCLSID('{3F4DACB2-160D-11D2-A8E9-00104B365C9F}', IMatchCollection2)
-