summaryrefslogtreecommitdiffstats
path: root/private/oleutest/simpdnd/ids.h
blob: 470d05ee2b7660da58ccda9fb99b822f5b35fc96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//**********************************************************************
// File name: ids.h
//
//      Definition of CDropSource
//
// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#if !defined( _IDS_H_ )
#define _IDS_H_

#include <assert.h>

class CSimpleDoc;

interface CDropSource : public IDropSource
{
    CSimpleDoc FAR * m_pDoc;

    CDropSource(CSimpleDoc FAR * pDoc)
       {
        TestDebugOut("In IDS's constructor\r\n");
        m_pDoc = pDoc;
       };

    ~CDropSource()
       {
        TestDebugOut("In IDS's destructor\r\n");
       };

    STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv);
    STDMETHODIMP_(ULONG) AddRef ();
    STDMETHODIMP_(ULONG) Release ();

       // *** IDropSource methods ***
    STDMETHODIMP QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState);
    STDMETHODIMP GiveFeedback (DWORD dwEffect);

private:

};


#endif