HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DD_ReceiveHandler.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: DD_ReceiveHandler.h
7  *
8  * COMMENTS:
9  *
10  * This class may be used to control/override drag'n'drop functionality
11  * on UI gadgets.
12  */
13 
14 #ifndef __DD_ReceiveHandler__
15 #define __DD_ReceiveHandler__
16 
17 #include "DD_API.h"
18 #include "DD_ChoiceList.h"
19 #include "DD_Source.h"
20 #include <UT/UT_NonCopyable.h>
21 
23 {
24 public:
26  virtual ~DD_ReceiveHandler();
27 
29 
30  virtual int acceptDragDrop(DD_Source &src, const char *label) = 0;
31  virtual int testDragDrop(DD_Source &src) = 0;
32  virtual void getDragDropChoice(DD_Source &src, DD_ChoiceList &c) = 0;
33 };
34 
35 #endif
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
#define DD_API
Definition: DD_API.h:10
GLenum src
Definition: glcorearb.h:1793