summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowcallbacks.h
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-01-07 11:45:09 -0800
committerRick Pasetto <rick@lindenlab.com>2010-01-07 11:45:09 -0800
commitcbea2b235f688d6d35a2deaa420ab57ffcc78372 (patch)
tree2ad5e1ec8756fccb5d669c5356b59ecf0ab36d5b /indra/llwindow/llwindowcallbacks.h
parentb7bab35cb58a33014bb05f2d77b03e58d9e90651 (diff)
parent75c1fb26649df73770459a31641c434e156e2c17 (diff)
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/llwindow/llwindowcallbacks.h')
-rw-r--r--indra/llwindow/llwindowcallbacks.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowcallbacks.h b/indra/llwindow/llwindowcallbacks.h
index abc66c42a2..42add8dde0 100644
--- a/indra/llwindow/llwindowcallbacks.h
+++ b/indra/llwindow/llwindowcallbacks.h
@@ -71,6 +71,21 @@ public:
virtual BOOL handleTimerEvent(LLWindow *window);
virtual BOOL handleDeviceChange(LLWindow *window);
+ enum DragNDropAction {
+ DNDA_START_TRACKING = 0,// Start tracking an incoming drag
+ DNDA_TRACK, // User is dragging an incoming drag around the window
+ DNDA_STOP_TRACKING, // User is no longer dragging an incoming drag around the window (may have either cancelled or dropped on the window)
+ DNDA_DROPPED // User dropped an incoming drag on the window (this is the "commit" event)
+ };
+
+ enum DragNDropResult {
+ DND_NONE = 0, // No drop allowed
+ DND_MOVE, // Drop accepted would result in a "move" operation
+ DND_COPY, // Drop accepted would result in a "copy" operation
+ DND_LINK // Drop accepted would result in a "link" operation
+ };
+ virtual DragNDropResult handleDragNDrop(LLWindow *window, LLCoordGL pos, MASK mask, DragNDropAction action, std::string data);
+
virtual void handlePingWatchdog(LLWindow *window, const char * msg);
virtual void handlePauseWatchdog(LLWindow *window);
virtual void handleResumeWatchdog(LLWindow *window);