From 43e5e0bf4f816d171d90052d2503ce255636ad2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 16:31:00 +0300 Subject: Move dragdropsource enum into separate file. --- src/dragdrop.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/dragdrop.h') 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: -- cgit v1.2.3-70-g09d2