HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 <UT/UT_ValArray.h>
19 #include "DD_Source.h"
20 #include "DD_ChoiceList.h"
21 
23 {
24 public:
26  virtual ~DD_ReceiveHandler();
27 
28  virtual int acceptDragDrop(DD_Source &src, const char *label) = 0;
29  virtual int testDragDrop(DD_Source &src) = 0;
30  virtual void getDragDropChoice(DD_Source &src, DD_ChoiceList &c) = 0;
31 };
32 
33 #endif
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
#define DD_API
Definition: DD_API.h:10
GLenum src
Definition: glcorearb.h:1792