Update of /cvsroot/pywin32/pywin32/com/win32com/src/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24290/com/win32com/src/include
Modified Files:
PyICreateTypeLib.h
Log Message:
Implement patch [ 982914 ] Support for CreateTypeLib2, contributed by
Phil Rittenhouse.
Index: PyICreateTypeLib.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/include/PyICreateTypeLib.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PyICreateTypeLib.h 1 Sep 1999 23:04:13 -0000 1.1
--- PyICreateTypeLib.h 13 Jul 2004 04:47:16 -0000 1.2
***************
*** 28,29 ****
--- 28,53 ----
~PyICreateTypeLib();
};
+
+ class PyICreateTypeLib2 : public PyIUnknown
+ {
+ public:
+ MAKE_PYCOM_CTOR(PyICreateTypeLib2);
+ static ICreateTypeLib2 *GetI(PyObject *self);
+ static PyComTypeObject type;
+
+ // The Python methods
+ static PyObject *CreateTypeInfo(PyObject *self, PyObject *args);
+ static PyObject *SetName(PyObject *self, PyObject *args);
+ static PyObject *SetVersion(PyObject *self, PyObject *args);
+ static PyObject *SetGuid(PyObject *self, PyObject *args);
+ static PyObject *SetDocString(PyObject *self, PyObject *args);
+ static PyObject *SetHelpFileName(PyObject *self, PyObject *args);
+ static PyObject *SetHelpContext(PyObject *self, PyObject *args);
+ static PyObject *SetLcid(PyObject *self, PyObject *args);
+ static PyObject *SetLibFlags(PyObject *self, PyObject *args);
+ static PyObject *SaveAllChanges(PyObject *self, PyObject *args);
+
+ protected:
+ PyICreateTypeLib2(IUnknown *pdisp);
+ ~PyICreateTypeLib2();
+ };
|