Removed more code at Hidenori's request.
[wine] / include / wine / obj_dockingwindowframe.h
1 /*
2  *    IDockingWindowFrame
3  *
4  * Copyright (C) 1999 Juergen Schmied
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #ifndef __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
22 #define __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27
28 typedef struct IDockingWindowFrame IDockingWindowFrame, *LPDOCKINGWINDOWFRAME;
29 DEFINE_GUID (IID_IDockingWindowFrame,   0x47D2657AL, 0x7B27, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
30
31 #define DWFRF_NORMAL            0x0000  /* femove toolbar flags*/
32 #define DWFRF_DELETECONFIGDATA  0x0001
33 #define DWFAF_HIDDEN            0x0001   /* add tolbar*/
34
35 #define ICOM_INTERFACE IDockingWindowFrame
36 #define IDockingWindowFrame_METHODS \
37         ICOM_METHOD3(HRESULT, AddToolbar, IUnknown*, punkSrc, LPCWSTR, pwszItem, DWORD, dwAddFlags) \
38         ICOM_METHOD2(HRESULT, RemoveToolbar, IUnknown*, punkSrc, DWORD, dwRemoveFlags) \
39         ICOM_METHOD3(HRESULT, FindToolbar, LPCWSTR, pwszItem, REFIID, riid, LPVOID*, ppvObj)
40 #define IDockingWindowFrame_IMETHODS \
41         IOleWindow_IMETHODS \
42         IDockingWindowFrame_METHODS
43 ICOM_DEFINE(IDockingWindowFrame,IOleWindow)
44 #undef ICOM_INTERFACE
45
46 /*** IUnknown methods ***/
47 #define IDockingWindowFrame_QueryInterface(p,a,b)       ICOM_CALL2(QueryInterface,p,a,b)
48 #define IDockingWindowFrame_AddRef(p)   ICOM_CALL(AddRef,p)
49 #define IDockingWindowFrame_Release(p)  ICOM_CALL(Release,p)
50 /*** IDockingWindowFrame methods ***/
51 #define IDockingWindowFrame_GetWindow(p,a)      ICOM_CALL1(GetWindow,p,a)
52 #define IDockingWindowFrame_ContextSensitiveHelp(p,a)   ICOM_CALL1(ContextSensitiveHelp,p,a)
53 #define IDockingWindowFrame_AddToolbar(p,a,b,c) ICOM_CALL3(AddToolbar,p,a,b,c)
54 #define IDockingWindowFrame_RemoveToolbar(p,a,b)        ICOM_CALL2(RemoveToolbar,p,a,b)
55 #define IDockingWindowFrame_FindToolbar(p,a,b,c)        ICOM_CALL3(FindToolbar,p,a,b,c)
56
57 #ifdef __cplusplus
58 } /* extern "C" */
59 #endif /* defined(__cplusplus) */
60
61 #endif /* __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H */