Tizen 2.1 base
[framework/uifw/ecore.git] / src / lib / ecore_win32 / ecore_win32_dnd_drop_source.h
1 #ifndef __ECORE_WIN32_DND_DROP_SOURCE_H__
2 #define __ECORE_WIN32_DND_DROP_SOURCE_H__
3
4
5 #define WIN32_LEAN_AND_MEAN
6 #include <windows.h>
7 #undef WIN32_LEAN_AND_MEAN
8 #include <ole2.h>
9
10 #include "Ecore_Win32.h"
11
12
13 class DropSource : public IDropSource
14 {
15  private:
16
17    LONG ref_count_;
18
19  public: // structors
20
21    DropSource();
22
23  public: // IUnknown
24
25    HRESULT __stdcall QueryInterface(REFIID iid, void ** ppvObject);
26    ULONG   __stdcall AddRef();
27    ULONG   __stdcall Release();
28
29  public: // IDropSource
30
31    HRESULT __stdcall QueryContinueDrag(BOOL fEscapePressed, DWORD grfKeyState);
32    HRESULT __stdcall GiveFeedback(DWORD dwEffect);
33 };
34
35
36 #endif /* __ECORE_WIN32_DND_DROP_SOURCE_H__ */