[pywin32-checkins] pywin32/com/win32comext/shell/src PyIShellIconOverlayIdentifier.cpp, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-04-25 09:51:13
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10397 Modified Files: PyIShellIconOverlayIdentifier.cpp Log Message: Autoduck improvements Index: PyIShellIconOverlayIdentifier.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIShellIconOverlayIdentifier.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PyIShellIconOverlayIdentifier.cpp 25 Jan 2005 09:42:32 -0000 1.1 --- PyIShellIconOverlayIdentifier.cpp 25 Apr 2008 09:51:17 -0000 1.2 *************** *** 25,29 **** } ! // @pymethod |PyIShellIconOverlayIdentifier|IsMemberOf|Description of IsMemberOf. PyObject *PyIShellIconOverlayIdentifier::IsMemberOf(PyObject *self, PyObject *args) { --- 25,30 ---- } ! // @pymethod int|PyIShellIconOverlayIdentifier|IsMemberOf|Determines if a shell object should have an icon overlay ! // @rdesc Implementation of this function should return winerror.S_OK to display the overlay, S_FALSE if not, or E_FAIL on error PyObject *PyIShellIconOverlayIdentifier::IsMemberOf(PyObject *self, PyObject *args) { *************** *** 31,36 **** if ( pISIOI == NULL ) return NULL; ! // @pyparm string/<o unicode>|path||Description for path ! // @pyparm int|attrib||Description for attrib PyObject *obpath; LPWSTR path; --- 32,37 ---- if ( pISIOI == NULL ) return NULL; ! // @pyparm <o PyUnicode>|path||Fully qualified path of the shell object ! // @pyparm int|attrib||Shell attributes, combination of shellcon.SFGAO_* flags PyObject *obpath; LPWSTR path; *************** *** 55,59 **** } ! // @pymethod |PyIShellIconOverlayIdentifier|GetOverlayInfo|Description of GetOverlayInfo. PyObject *PyIShellIconOverlayIdentifier::GetOverlayInfo(PyObject *self, PyObject *args) { --- 56,62 ---- } ! // @pymethod (<o PyUnicode>, int, int)|PyIShellIconOverlayIdentifier|GetOverlayInfo|Retrieves the path to the overlay icon ! // @rdesc Returns the path to the icon file, the index of icon within the file, and Flags containing ! // combination of shellcon.ISIOI_ICON* flags PyObject *PyIShellIconOverlayIdentifier::GetOverlayInfo(PyObject *self, PyObject *args) { *************** *** 79,83 **** } ! // @pymethod |PyIShellIconOverlayIdentifier|GetPriority|Description of GetPriority. PyObject *PyIShellIconOverlayIdentifier::GetPriority(PyObject *self, PyObject *args) { --- 82,87 ---- } ! // @pymethod int|PyIShellIconOverlayIdentifier|GetPriority|Retrieves the relative priority of the overlay ! // @rdesc Implementation of this function should return a number in the range 0-100 (0 is highest priority) PyObject *PyIShellIconOverlayIdentifier::GetPriority(PyObject *self, PyObject *args) { *************** *** 100,109 **** } ! // @object PyIShellIconOverlayIdentifier|Description of the interface static struct PyMethodDef PyIShellIconOverlayIdentifier_methods[] = { ! { "IsMemberOf", PyIShellIconOverlayIdentifier::IsMemberOf, 1 }, // @pymeth IsMemberOf|Description of IsMemberOf ! { "GetOverlayInfo", PyIShellIconOverlayIdentifier::GetOverlayInfo, 1 }, // @pymeth GetOverlayInfo|Description of GetOverlayInfo ! { "GetPriority", PyIShellIconOverlayIdentifier::GetPriority, 1 }, // @pymeth GetPriority|Description of GetPriority { NULL } }; --- 104,113 ---- } ! // @object PyIShellIconOverlayIdentifier|Interface that supplies icon overlay information to the shell static struct PyMethodDef PyIShellIconOverlayIdentifier_methods[] = { ! { "IsMemberOf", PyIShellIconOverlayIdentifier::IsMemberOf, 1 }, // @pymeth IsMemberOf|Determines if a shell object should have an icon overlay ! { "GetOverlayInfo", PyIShellIconOverlayIdentifier::GetOverlayInfo, 1 }, // @pymeth GetOverlayInfo|Retrieves the path to the overlay icon ! { "GetPriority", PyIShellIconOverlayIdentifier::GetPriority, 1 }, // @pymeth GetPriority|Retrieves the relative priority of the overlay { NULL } }; |