summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/docobj.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-05-13 02:05:12 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-05-13 02:05:12 +0000
commitb823fca9ba6e05eb8382a7f9c765d7752ecb553d (patch)
tree4ba904a24c981ac45423cf079bc12e9b98e46550 /winsup/w32api/include/docobj.h
parenta8833ac1ff740c9d03cdc0e8a3ae5a132a5d7d0b (diff)
downloadcygnal-b823fca9ba6e05eb8382a7f9c765d7752ecb553d.tar.gz
cygnal-b823fca9ba6e05eb8382a7f9c765d7752ecb553d.tar.bz2
cygnal-b823fca9ba6e05eb8382a7f9c765d7752ecb553d.zip
* include/oleidl.h (LPENUMOLEDOCUMENTVIEWS): Remove typedef.
(IEnumOleDocumentViews): Remove commented out DECLARE_ENUMERATOR. * include/docobj.h (LPENUMOLEDOCUMENTVIEWS): Add typedef (previously commented out). (IEnumOleDocumentViews): Add definition using DECLARE_ENUMERATOR.
Diffstat (limited to 'winsup/w32api/include/docobj.h')
-rw-r--r--winsup/w32api/include/docobj.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/w32api/include/docobj.h b/winsup/w32api/include/docobj.h
index 0e16c6b90..27055dd84 100644
--- a/winsup/w32api/include/docobj.h
+++ b/winsup/w32api/include/docobj.h
@@ -1,6 +1,6 @@
#ifndef _DOCOBJ_H
#define _DOCOBJ_H
-#if __GNUC__ >=3
+#if __GNUC__ >= 3
#pragma GCC system_header
#endif
@@ -71,8 +71,7 @@ typedef struct _tagOLECMD {
} OLECMD;
typedef interface IOleInPlaceSite *LPOLEINPLACESITE;
-/* typedef interface IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS;
- in oleidl.h */
+typedef interface IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS;
EXTERN_C const IID IID_IContinueCallback;
EXTERN_C const IID IID_IEnumOleDocumentViews;
@@ -102,6 +101,8 @@ DECLARE_INTERFACE_(IOleDocumentView,IUnknown)
STDMETHOD(Clone)(THIS_ LPOLEINPLACESITE,IOleDocumentView**) PURE;
};
+DECLARE_ENUMERATOR_(IEnumOleDocumentViews,IOleDocumentView);
+
EXTERN_C const IID IID_IOleDocument;
#undef INTERFACE
#define INTERFACE IOleDocument