InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CDragDropSource.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Burnard
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Interface for a generic Drag and Drop source
24 //
25 //========================================================================================
26 
27 #ifndef __CDragDropSource__
28 #define __CDragDropSource__
29 
30 #include "HelperInterface.h"
31 #include "IDragDropSource.h"
32 #include "IDragDropController.h"
33 
34 class IEvent;
35 class IDragDropTarget;
36 
37 
44 {
45  public:
47  virtual ~CDragDropSource();
48 
52  virtual bool16 WillDrag(IEvent* e) const;
53 
57  virtual CursorSpec GetDragCursor(DragDrop::eTargetResponse, bool16 isDragLocal) const;
58 
62  virtual SysWireframe DoMakeDragOutlineRegion() const;
63 
67  virtual bool16 DoAddDragContent(IDragDropController*);
68 
73 
77  virtual IDataBase* GetSourceDataBase() const;
78 
79  private:
80 
81 
82 };
83 
84 
85 #endif //__CDragDropSource__
86