diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 14:59:02 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 14:59:02 -0800 |
commit | 23760a63a0f018a48625710f8de07e490f3cdd2f (patch) | |
tree | 837a785cd88e96212c3466095d39f18c02ed4ec9 /indra/llwindow/llwindowcallbacks.h | |
parent | 1f8ad2651d82b81fc85d91f3d48663430427537e (diff) | |
parent | aba3d46fb47a4dab652254ed099037629a87dc24 (diff) |
merge
Diffstat (limited to 'indra/llwindow/llwindowcallbacks.h')
-rw-r--r-- | indra/llwindow/llwindowcallbacks.h | 15 |
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); |