summaryrefslogtreecommitdiff
path: root/src/enums/dragdropsource.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/enums/dragdropsource.h
parent599551a69be2872c3cf9916c7f9814af73b56203 (diff)
downloadmv-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.gz
mv-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.bz2
mv-43e5e0bf4f816d171d90052d2503ce255636ad2a.tar.xz
mv-43e5e0bf4f816d171d90052d2503ce255636ad2a.zip
Move dragdropsource enum into separate file.
Diffstat (limited to 'src/enums/dragdropsource.h')
-rw-r--r--src/enums/dragdropsource.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/enums/dragdropsource.h b/src/enums/dragdropsource.h
new file mode 100644
index 000000000..c9271abce
--- /dev/null
+++ b/src/enums/dragdropsource.h
@@ -0,0 +1,42 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2013-2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_DRAGDROPSOURCE_H
+#define ENUMS_DRAGDROPSOURCE_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
+};
+
+#endif // ENUMS_DRAGDROPSOURCE_H