summaryrefslogtreecommitdiff
path: root/src/dragdrop.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 16:31:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 16:31:00 +0300
commit43e5e0bf4f816d171d90052d2503ce255636ad2a (patch)
tree2e202bd9d6e35b29c693fd4c8dd5d3166330ef0e /src/dragdrop.h
parent599551a69be2872c3cf9916c7f9814af73b56203 (diff)
downloadmanaverse-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.gz
manaverse-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.bz2
manaverse-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.xz
manaverse-43e5e0bf4f816d171d90052d2503ce255636ad2a.zip
Move dragdropsource enum into separate file.
Diffstat (limited to 'src/dragdrop.h')
-rw-r--r--src/dragdrop.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/dragdrop.h b/src/dragdrop.h
index 382ebb143..773d26553 100644
--- a/src/dragdrop.h
+++ b/src/dragdrop.h
@@ -25,6 +25,8 @@
#include "itemsoundmanager.h"
#include "textcommand.h"
+#include "enums/dragdropsource.h"
+
#include "gui/widgets/skilldata.h"
#include "gui/widgets/skillinfo.h"
@@ -32,24 +34,6 @@
#include "localconsts.h"
-enum DragDropSource
-{
- DRAGDROP_SOURCE_EMPTY = 0,
- DRAGDROP_SOURCE_INVENTORY,
- DRAGDROP_SOURCE_STORAGE,
- DRAGDROP_SOURCE_CART,
- DRAGDROP_SOURCE_TRADE,
- DRAGDROP_SOURCE_OUTFIT,
- DRAGDROP_SOURCE_SPELLS,
- DRAGDROP_SOURCE_SKILLS,
- DRAGDROP_SOURCE_GROUND,
- DRAGDROP_SOURCE_DROP,
- DRAGDROP_SOURCE_SHORTCUTS,
- DRAGDROP_SOURCE_CRAFT,
- DRAGDROP_SOURCE_NPC,
- DRAGDROP_SOURCE_EQUIPMENT
-};
-
class DragDrop final
{
public: