summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 12:27:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 12:27:53 +0300
commit116349dac9b9d13d0e57e24e345590a8a0e70210 (patch)
tree9f91c96308adedade5ba827500e6e27eb9560513 /src/inventory.h
parent9aa1fdffd8bc4b293480813b14874b96d58c2ad4 (diff)
downloadmv-116349dac9b9d13d0e57e24e345590a8a0e70210.tar.gz
mv-116349dac9b9d13d0e57e24e345590a8a0e70210.tar.bz2
mv-116349dac9b9d13d0e57e24e345590a8a0e70210.tar.xz
mv-116349dac9b9d13d0e57e24e345590a8a0e70210.zip
Extract inventorylistener into separate file.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/inventory.h b/src/inventory.h
index ee684fb95..d9fd5dd1a 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -25,6 +25,8 @@
#include "being/gender.h"
+#include "listeners/inventorylistener.h"
+
#include <list>
#include <string>
@@ -33,19 +35,6 @@
class Inventory;
class Item;
-class InventoryListener
-{
- public:
- virtual ~InventoryListener()
- { }
-
- virtual void slotsChanged(Inventory *const inventory) = 0;
-
- protected:
- InventoryListener()
- { }
-};
-
class Inventory final
{
public: