Update of /cvsroot/spambayes/spambayes/windows/py2exe/gen_py
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv3873/gen_py

Added Files:
        README.txt addin-designer.py office-9.py outlook-9.py 
Log Message:
Files generated by makepy.py from the type-libraries we depend on.  This
is so developers without Office 2000 can still build a distribution.


--- NEW FILE: README.txt ---
This directory contains stubs generated by pywin32's 'makepy' utility.

They are in source-control so that it is possible to build the spambayes 
binaries without having the correct Office etc versions installed on the 
build box.  The py2exe script references these files, and compiled versions
of them end up in the library used by spambayes.

To determine the exact versions of the typelibs used to generate the various
files, please just look inside it - all such information is recorded near the
top.  To generate new files, execute makepy.py with the -o option, and
specify the filename you wish to use.

--- NEW FILE: addin-designer.py ---
# -*- coding: mbcs -*-
# Created by makepy.py version 0.4.95
# By python version 2.4.4 (#71, Feb  5 2007, 15:24:39) [MSC v.1310 32 bit 
(Intel)]
# From type library 'MSADDNDR.DLL'
# On Mon Mar 26 16:03:36 2007
"""Microsoft Add-In Designer"""
makepy_version = '0.4.95'
python_version = 0x20404f0

import win32com.client.CLSIDToClass, pythoncom
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch

# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing, .Empty and .ArgNotFound
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty

CLSID = IID('{AC0714F2-3D04-11D1-AE7D-00A0C90F26F4}')
MajorVersion = 1
MinorVersion = 0
LibraryFlags = 8
LCID = 0x0

class constants:
        ext_cm_AfterStartup           =0x0        # from enum ext_ConnectMode
        ext_cm_CommandLine            =0x3        # from enum ext_ConnectMode
        ext_cm_External               =0x2        # from enum ext_ConnectMode
        ext_cm_Startup                =0x1        # from enum ext_ConnectMode
        ext_dm_HostShutdown           =0x0        # from enum ext_DisconnectMode
        ext_dm_UserClosed             =0x1        # from enum ext_DisconnectMode

from win32com.client import DispatchBaseClass
class IAddinDesigner(DispatchBaseClass):
        """Add-In Designer Control"""
        CLSID = IID('{AC0714F3-3D04-11D1-AE7D-00A0C90F26F4}')
        coclass_clsid = IID('{AC0714F6-3D04-11D1-AE7D-00A0C90F26F4}')

        _prop_map_get_ = {
        }
        _prop_map_put_ = {
        }

class IAddinInstance(DispatchBaseClass):
        """Add-In Instance Object"""
        CLSID = IID('{AC0714F4-3D04-11D1-AE7D-00A0C90F26F4}')
        coclass_clsid = IID('{AC0714F7-3D04-11D1-AE7D-00A0C90F26F4}')

        _prop_map_get_ = {
        }
        _prop_map_put_ = {
        }

class _IDTExtensibility2:
        CLSID = CLSID_Sink = IID('{B65AD801-ABAF-11D0-BB8B-00A0C90F2744}')
        coclass_clsid = IID('{AC0714F7-3D04-11D1-AE7D-00A0C90F26F4}')
        _public_methods_ = [] # For COM Server support
        _dispid_to_func_ = {
                        5 : "OnBeginShutdown",
                        4 : "OnStartupComplete",
                1610678275 : "OnInvoke",
                        3 : "OnAddInsUpdate",
                        1 : "OnConnection",
                1610678273 : "OnGetTypeInfo",
                1610612737 : "OnAddRef",
                1610612736 : "OnQueryInterface",
                        2 : "OnDisconnection",
                1610612738 : "OnRelease",
                1610678274 : "OnGetIDsOfNames",
                1610678272 : "OnGetTypeInfoCount",
                }

        def __init__(self, oobj = None):
                if oobj is None:
                        self._olecp = None
                else:
                        import win32com.server.util
                        from win32com.server.policy import EventHandlerPolicy
                        
cpc=oobj._oleobj_.QueryInterface(pythoncom.IID_IConnectionPointContainer)
                        cp=cpc.FindConnectionPoint(self.CLSID_Sink)
                        cookie=cp.Advise(win32com.server.util.wrap(self, 
usePolicy=EventHandlerPolicy))
                        self._olecp,self._olecp_cookie = cp,cookie
        def __del__(self):
                try:
                        self.close()
                except pythoncom.com_error:
                        pass
        def close(self):
                if self._olecp is not None:
                        cp,cookie,self._olecp,self._olecp_cookie = 
self._olecp,self._olecp_cookie,None,None
                        cp.Unadvise(cookie)
        def _query_interface_(self, iid):
                import win32com.server.util
                if iid==self.CLSID_Sink: return win32com.server.util.wrap(self)

        # Event Handlers
        # If you create handlers, they should have the following prototypes:
#       def OnBeginShutdown(self, custom=defaultNamedNotOptArg):
#       def OnStartupComplete(self, custom=defaultNamedNotOptArg):
#       def OnInvoke(self, dispidMember=defaultNamedNotOptArg, 
riid=defaultNamedNotOptArg, lcid=defaultNamedNotOptArg, 
wFlags=defaultNamedNotOptArg
#                       , pdispparams=defaultNamedNotOptArg, 
pvarResult=pythoncom.Missing, pexcepinfo=pythoncom.Missing, 
puArgErr=pythoncom.Missing):
#       def OnAddInsUpdate(self, custom=defaultNamedNotOptArg):
#       def OnConnection(self, Application=defaultNamedNotOptArg, 
ConnectMode=defaultNamedNotOptArg, AddInInst=defaultNamedNotOptArg, 
custom=defaultNamedNotOptArg):
#       def OnGetTypeInfo(self, itinfo=defaultNamedNotOptArg, 
lcid=defaultNamedNotOptArg, pptinfo=pythoncom.Missing):
#       def OnAddRef(self):
#       def OnQueryInterface(self, riid=defaultNamedNotOptArg, 
ppvObj=pythoncom.Missing):
#       def OnDisconnection(self, RemoveMode=defaultNamedNotOptArg, 
custom=defaultNamedNotOptArg):
#       def OnRelease(self):
#       def OnGetIDsOfNames(self, riid=defaultNamedNotOptArg, 
rgszNames=defaultNamedNotOptArg, cNames=defaultNamedNotOptArg, 
lcid=defaultNamedNotOptArg
#                       , rgdispid=pythoncom.Missing):
#       def OnGetTypeInfoCount(self, pctinfo=pythoncom.Missing):


from win32com.client import CoClassBaseClass
# This CoClass is known by the name 'MSAddnDr.AddInDesigner.1'
class AddinDesigner(CoClassBaseClass): # A CoClass
        # Add-In Designer control
        CLSID = IID('{AC0714F6-3D04-11D1-AE7D-00A0C90F26F4}')
        coclass_sources = [
                _IDTExtensibility2,
        ]
        default_source = _IDTExtensibility2
        coclass_interfaces = [
                IAddinDesigner,
        ]
        default_interface = IAddinDesigner

# This CoClass is known by the name 'MSAddnDr.AddInInstance.1'
class AddinInstance(CoClassBaseClass): # A CoClass
        # Add-In Instance Object
        CLSID = IID('{AC0714F7-3D04-11D1-AE7D-00A0C90F26F4}')
        coclass_sources = [
                _IDTExtensibility2,
        ]
        default_source = _IDTExtensibility2
        coclass_interfaces = [
                IAddinInstance,
        ]
        default_interface = IAddinInstance

IAddinDesigner_vtables_dispatch_ = 1
IAddinDesigner_vtables_ = [
]

IAddinInstance_vtables_dispatch_ = 1
IAddinInstance_vtables_ = [
]

_IDTExtensibility2_vtables_dispatch_ = 1
_IDTExtensibility2_vtables_ = [
        (( 'OnConnection' , 'Application' , 'ConnectMode' , 'AddInInst' , 
'custom' , 
                        ), 1, (1, (), [ (9, 1, None, None) , (3, 1, None, None) 
, (9, 1, None, None) , (24588, 1, None, None) , ], 1 , 1 , 4 , 0 , 28 , (3, 0, 
None, None) , 0 , )),
        (( 'OnDisconnection' , 'RemoveMode' , 'custom' , ), 2, (2, (), [ (3, 1, 
None, None) , 
                        (24588, 1, None, None) , ], 1 , 1 , 4 , 0 , 32 , (3, 0, 
None, None) , 0 , )),
        (( 'OnAddInsUpdate' , 'custom' , ), 3, (3, (), [ (24588, 1, None, None) 
, ], 1 , 1 , 4 , 0 , 36 , (3, 0, None, None) , 0 , )),
        (( 'OnStartupComplete' , 'custom' , ), 4, (4, (), [ (24588, 1, None, 
None) , ], 1 , 1 , 4 , 0 , 40 , (3, 0, None, None) , 0 , )),
        (( 'OnBeginShutdown' , 'custom' , ), 5, (5, (), [ (24588, 1, None, 
None) , ], 1 , 1 , 4 , 0 , 44 , (3, 0, None, None) , 0 , )),
]

RecordMap = {
}

CLSIDToClassMap = {
        '{AC0714F6-3D04-11D1-AE7D-00A0C90F26F4}' : AddinDesigner,
        '{AC0714F7-3D04-11D1-AE7D-00A0C90F26F4}' : AddinInstance,
        '{B65AD801-ABAF-11D0-BB8B-00A0C90F2744}' : _IDTExtensibility2,
        '{AC0714F3-3D04-11D1-AE7D-00A0C90F26F4}' : IAddinDesigner,
        '{AC0714F4-3D04-11D1-AE7D-00A0C90F26F4}' : IAddinInstance,
}
CLSIDToPackageMap = {}
win32com.client.CLSIDToClass.RegisterCLSIDsFromDict( CLSIDToClassMap )
VTablesToPackageMap = {}
VTablesToClassMap = {
        '{B65AD801-ABAF-11D0-BB8B-00A0C90F2744}' : '_IDTExtensibility2',
        '{AC0714F3-3D04-11D1-AE7D-00A0C90F26F4}' : 'IAddinDesigner',
        '{AC0714F4-3D04-11D1-AE7D-00A0C90F26F4}' : 'IAddinInstance',
}


NamesToIIDMap = {
        'IAddinInstance' : '{AC0714F4-3D04-11D1-AE7D-00A0C90F26F4}',
        '_IDTExtensibility2' : '{B65AD801-ABAF-11D0-BB8B-00A0C90F2744}',
        'IAddinDesigner' : '{AC0714F3-3D04-11D1-AE7D-00A0C90F26F4}',
}

win32com.client.constants.__dicts__.append(constants.__dict__)


--- NEW FILE: office-9.py ---
# -*- coding: mbcs -*-
# Created by makepy.py version 0.4.95
# By python version 2.4.4 (#71, Feb  5 2007, 15:24:39) [MSC v.1310 32 bit 
(Intel)]
# From type library 'MSO9.DLL'
# On Mon Mar 26 16:03:03 2007
"""Microsoft Office 9.0 Object Library"""
makepy_version = '0.4.95'
python_version = 0x20404f0

import win32com.client.CLSIDToClass, pythoncom
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch

# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing, .Empty and .ArgNotFound
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty
[...6816 lines suppressed...]
        'BalloonCheckboxes' : '{000C0326-0000-0000-C000-000000000046}',
        'PropertyTests' : '{000C0334-0000-0000-C000-000000000046}',
        '_CommandBarsEvents' : '{000C0352-0000-0000-C000-000000000046}',
        'IFoundFiles' : '{000C0338-0000-0000-C000-000000000046}',
        '_IMsoOleAccDispObj' : '{000C0301-0000-0000-C000-000000000046}',
        'ShapeNode' : '{000C0318-0000-0000-C000-000000000046}',
        'PropertyTest' : '{000C0333-0000-0000-C000-000000000046}',
        'Adjustments' : '{000C0310-0000-0000-C000-000000000046}',
        'BalloonCheckbox' : '{000C0328-0000-0000-C000-000000000046}',
        'HTMLProject' : '{000C0356-0000-0000-C000-000000000046}',
        'Shape' : '{000C031C-0000-0000-C000-000000000046}',
        'CalloutFormat' : '{000C0311-0000-0000-C000-000000000046}',
        'CommandBarControl' : '{000C0308-0000-0000-C000-000000000046}',
        'LineFormat' : '{000C0317-0000-0000-C000-000000000046}',
        '_IMsoDispObj' : '{000C0300-0000-0000-C000-000000000046}',
        '_CommandBarComboBox' : '{000C030C-0000-0000-C000-000000000046}',
}

win32com.client.constants.__dicts__.append(constants.__dict__)


--- NEW FILE: outlook-9.py ---
# -*- coding: mbcs -*-
# Created by makepy.py version 0.4.95
# By python version 2.4.4 (#71, Feb  5 2007, 15:24:39) [MSC v.1310 32 bit 
(Intel)]
# From type library 'msoutl9.olb'
# On Mon Mar 26 16:02:37 2007
"""Microsoft Outlook 9.0 Object Library"""
makepy_version = '0.4.95'
python_version = 0x20404f0

import win32com.client.CLSIDToClass, pythoncom
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch

# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing, .Empty and .ArgNotFound
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty
[...7742 lines suppressed...]
        'PropertyPages' : '{00063080-0000-0000-C000-000000000046}',
        'Attachments' : '{0006303C-0000-0000-C000-000000000046}',
        'Links' : '{0006308A-0000-0000-C000-000000000046}',
        '_ReportItem' : '{00063026-0000-0000-C000-000000000046}',
        '_Inspector' : '{00063005-0000-0000-C000-000000000046}',
        '_NoteItem' : '{00063025-0000-0000-C000-000000000046}',
        'SyncObjects' : '{00063086-0000-0000-C000-000000000046}',
        'Actions' : '{0006303E-0000-0000-C000-000000000046}',
        'OutlookBarGroupsEvents' : '{0006307B-0000-0000-C000-000000000046}',
        '_ContactItem' : '{00063021-0000-0000-C000-000000000046}',
        '_TaskRequestUpdateItem' : '{00063037-0000-0000-C000-000000000046}',
        '_TaskRequestItem' : '{00063036-0000-0000-C000-000000000046}',
        '_DRecipientControl' : '{0006F025-0000-0000-C000-000000000046}',
        '_DocumentItem' : '{00063020-0000-0000-C000-000000000046}',
        '_IRecipientControl' : '{D87E7E16-6897-11CE-A6C0-00AA00608FAA}',
        'RecurrencePattern' : '{00063044-0000-0000-C000-000000000046}',
}

win32com.client.constants.__dicts__.append(constants.__dict__)


_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to