Get rid of the ICOM_CALL macros.
[wine] / include / wine / obj_commdlgbrowser.h
1 /*
2  *    ICommDlgBrowser
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_COMMDLGBROWSER_H
22 #define __WINE_WINE_OBJ_COMMDLGBROWSER_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27
28 typedef struct  ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER;
29
30 /* for OnStateChange*/
31 #define CDBOSC_SETFOCUS     0x00000000
32 #define CDBOSC_KILLFOCUS    0x00000001
33 #define CDBOSC_SELCHANGE    0x00000002
34 #define CDBOSC_RENAME       0x00000003
35
36
37 #define INTERFACE ICommDlgBrowser
38 #define ICommDlgBrowser_METHODS \
39         STDMETHOD(OnDefaultCommand)(THIS_ IShellView * IShellView) PURE; \
40         STDMETHOD(OnStateChange)(THIS_ IShellView * IShellView, ULONG  uChange) PURE; \
41         STDMETHOD(IncludeObject)(THIS_ IShellView * IShellView, LPCITEMIDLIST  pidl) PURE;
42 #define ICommDlgBrowser_IMETHODS \
43         IUnknown_IMETHODS \
44         ICommDlgBrowser_METHODS
45 ICOM_DEFINE(ICommDlgBrowser,IUnknown)
46 #undef INTERFACE
47
48 #ifdef COBJMACROS
49 #define ICommDlgBrowser_QueryInterface(p,a,b)   (p)->lpVtbl->QueryInterface(p,a,b)
50 #define ICommDlgBrowser_AddRef(p)               (p)->lpVtbl->AddRef(p)
51 #define ICommDlgBrowser_Release(p)              (p)->lpVtbl->Release(p)
52 #define ICommDlgBrowser_OnDefaultCommand(p,a)   (p)->lpVtbl->OnDefaultCommand(p,a)
53 #define ICommDlgBrowser_OnStateChange(p,a,b)    (p)->lpVtbl->OnStateChange(p,a,b)
54 #define ICommDlgBrowser_IncludeObject(p,a,b)    (p)->lpVtbl->IncludeObject(p,a,b)
55 #endif
56
57 #ifdef __cplusplus
58 } /* extern "C" */
59 #endif /* defined(__cplusplus) */
60
61 #endif /* __WINE_WINE_OBJ_COMMDLGBROWSER_H */