* 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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user