From 35302b48fc6be095dfb6dddd97c2b4cd90df3f6e Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 26 Aug 2005 08:48:06 +0000 Subject: [PATCH] Move interfaces around to satisfy MIDL. --- include/oleidl.idl | 96 +++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/include/oleidl.idl b/include/oleidl.idl index c9e8aa02e6d..5e41081a67e 100644 --- a/include/oleidl.idl +++ b/include/oleidl.idl @@ -20,6 +20,7 @@ import "objidl.idl"; +interface IOleInPlaceActiveObject; /***************************************************************************** * IOleTypes interface @@ -96,54 +97,6 @@ interface IOleInPlaceObject : IOleWindow } -/* avoid conflict with Wine Unicode macros */ -cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") -cpp_quote("#undef TranslateAccelerator") -cpp_quote("#endif") - -/***************************************************************************** - * IOleInPlaceActiveObject interface - */ -interface IOleInPlaceUIWindow; /* forward declaration */ -[ - object, - uuid(00000117-0000-0000-c000-000000000046) -] -interface IOleInPlaceActiveObject : IOleWindow -{ - typedef [unique] IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; - - [local] - HRESULT TranslateAccelerator( - [in] LPMSG lpmsg); - - [call_as(TranslateAccelerator)] - HRESULT RemoteTranslateAccelerator(); - - HRESULT OnFrameWindowActivate( - [in] BOOL fActivate); - - HRESULT OnDocWindowActivate( - [in] BOOL fActivate); - - [local] - HRESULT ResizeBorder( - [in] LPCRECT prcBorder, - [in, unique] IOleInPlaceUIWindow *pUIWindow, - [in] BOOL fFrameWindow); - - [call_as(ResizeBorder)] - HRESULT RemoteResizeBorder( - [in] LPCRECT prcBorder, - [in] REFIID riid, - [in, unique, iid_is(riid)] IOleInPlaceUIWindow *pUIWindow, - [in] BOOL fFrameWindow); - - HRESULT EnableModeless( - [in] BOOL fEnable); -} - - /***************************************************************************** * IOleInPlaceUIWindow interface */ @@ -176,6 +129,11 @@ interface IOleInPlaceUIWindow : IOleWindow } +/* avoid conflict with Wine Unicode macros */ +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") +cpp_quote("#undef TranslateAccelerator") +cpp_quote("#endif") + /***************************************************************************** * IOleInPlaceFrame interface */ @@ -228,6 +186,48 @@ interface IOleInPlaceFrame : IOleInPlaceUIWindow } +/***************************************************************************** + * IOleInPlaceActiveObject interface + */ +[ + object, + uuid(00000117-0000-0000-c000-000000000046) +] +interface IOleInPlaceActiveObject : IOleWindow +{ + typedef [unique] IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; + + [local] + HRESULT TranslateAccelerator( + [in] LPMSG lpmsg); + + [call_as(TranslateAccelerator)] + HRESULT RemoteTranslateAccelerator(); + + HRESULT OnFrameWindowActivate( + [in] BOOL fActivate); + + HRESULT OnDocWindowActivate( + [in] BOOL fActivate); + + [local] + HRESULT ResizeBorder( + [in] LPCRECT prcBorder, + [in, unique] IOleInPlaceUIWindow *pUIWindow, + [in] BOOL fFrameWindow); + + [call_as(ResizeBorder)] + HRESULT RemoteResizeBorder( + [in] LPCRECT prcBorder, + [in] REFIID riid, + [in, unique, iid_is(riid)] IOleInPlaceUIWindow *pUIWindow, + [in] BOOL fFrameWindow); + + HRESULT EnableModeless( + [in] BOOL fEnable); +} + + /***************************************************************************** * IOleInPlaceSite interface */