summaryrefslogtreecommitdiffstats
path: root/private/oleutest/utests16/simpdnd/ids.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/oleutest/utests16/simpdnd/ids.h')
-rw-r--r--private/oleutest/utests16/simpdnd/ids.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/private/oleutest/utests16/simpdnd/ids.h b/private/oleutest/utests16/simpdnd/ids.h
new file mode 100644
index 000000000..0046c1b51
--- /dev/null
+++ b/private/oleutest/utests16/simpdnd/ids.h
@@ -0,0 +1,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
+{
+ int m_nCount;
+ CSimpleDoc FAR * m_pDoc;
+
+ CDropSource(CSimpleDoc FAR * pDoc) {
+ TestDebugOut("In IDS's constructor\r\n");
+ m_pDoc = pDoc;
+ m_nCount = 0;
+ };
+
+ ~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