00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * 00008 * Rob Bairos 00009 * Side Effects Software Inc 00010 * 477 Richmond Street West 00011 * Toronto, Ontario 00012 * Canada M5V 3E7 00013 * 416-504-9876 00014 * 00015 * NAME: DD_ReceiveHandler.h 00016 * 00017 * COMMENTS: 00018 * 00019 * This class may be used to control/override drag'n'drop functionality 00020 * on UI gadgets. 00021 */ 00022 00023 #ifndef __DD_ReceiveHandler__ 00024 #define __DD_ReceiveHandler__ 00025 00026 #include "DD_API.h" 00027 #include <UT/UT_PtrArray.h> 00028 #include "DD_Source.h" 00029 #include "DD_ChoiceList.h" 00030 00031 class DD_API DD_ReceiveHandler 00032 { 00033 public: 00034 DD_ReceiveHandler(); 00035 virtual ~DD_ReceiveHandler(); 00036 00037 virtual int acceptDragDrop(DD_Source &src, const char *label) = 0; 00038 virtual int testDragDrop(DD_Source &src) = 0; 00039 virtual void getDragDropChoice(DD_Source &src, DD_ChoiceList &c) = 0; 00040 }; 00041 00042 #endif
1.5.9