Drag'n'drop : moved "setAcceptDragOperation" functions at window level
[blender.git] / intern / ghost / intern / GHOST_System.h
index 542553e830e7811680979a267b2080917a6f7085..e381b673957ae47a0ca3ac8c67ba2369bff2d4b8 100644 (file)
@@ -232,21 +232,6 @@ public:
         */
        virtual GHOST_TSuccess getButtonState(GHOST_TButtonMask mask, bool& isDown) const;
        
-       /***************************************************************************************
-        ** Drag'n'drop operations
-        ***************************************************************************************/
-       
-       /**
-        * Tells if the ongoing drag'n'drop object can be accepted upon mouse drop
-        */
-       virtual void setAcceptDragOperation(bool canAccept);
-       
-       /**
-        * Returns acceptance of the dropped object
-        * Usually called by the "object dropped" event handling function
-        */
-       virtual bool canAcceptDragOperation() const;
-
        /***************************************************************************************
         ** Other (internal) functionality.
         ***************************************************************************************/
@@ -348,9 +333,6 @@ protected:
     /** The N-degree of freedom device manager */
     GHOST_NDOFManager* m_ndofManager;
        
-       /** The acceptance of the "drop candidate" of the current drag'n'drop operation */
-       bool m_canAcceptDragOperation;
-
        /** Prints all the events. */
 #ifdef GHOST_DEBUG
        GHOST_EventPrinter* m_eventPrinter;