summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-15 21:28:10 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-16 13:19:09 -0600
commitd8d9232a67a03548b827bdb0515fe7a620a488f8 (patch)
treed6e0644f99e0ff89f9b320c0b479ba5a4e398125 /src/gui/viewport.h
parenta6c2b90c2dabac18ad8052d948bc540406b3a613 (diff)
downloadmana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.gz
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.bz2
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.xz
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.zip
Move more to the event system
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index eaf23085..c54b9860 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -22,9 +22,9 @@
#ifndef VIEWPORT_H
#define VIEWPORT_H
-#include "actorspritelistener.h"
#include "actorspritemanager.h"
#include "configlistener.h"
+#include "listener.h"
#include "position.h"
#include "gui/widgets/windowcontainer.h"
@@ -54,7 +54,7 @@ const int walkingMouseDelay = 500;
* coordinates.
*/
class Viewport : public WindowContainer, public gcn::MouseListener,
- public ConfigListener, public ActorSpriteListener
+ public ConfigListener, public Mana::Listener
{
public:
/**
@@ -160,7 +160,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
*/
void hideBeingPopup();
- void actorSpriteDestroyed(const ActorSprite &actorSprite);
+ void event(const std::string &channel, const Mana::Event &event);
private:
/**