summaryrefslogtreecommitdiff
path: root/src/net/generalhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-07 15:10:13 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-07 15:10:13 -0600
commit3e8ed12a530426b3c649922452f42d9a2b2a8d89 (patch)
treeb8a36133854f772438144529d68dfb657e06fa4f /src/net/generalhandler.h
parent9eebc7ddac10c6c7f483bfd1003db79e61438bff (diff)
downloadmana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.gz
mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.bz2
mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.xz
mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.zip
Make GeneralHandlers for both networks
Also make Net::LogoutHandler
Diffstat (limited to 'src/net/generalhandler.h')
-rw-r--r--src/net/generalhandler.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/net/generalhandler.h b/src/net/generalhandler.h
index 573e5062..08c08b13 100644
--- a/src/net/generalhandler.h
+++ b/src/net/generalhandler.h
@@ -26,11 +26,15 @@ namespace Net {
class GeneralHandler
{
public:
- virtual void load() {}
+ virtual void load() = 0;
- virtual void unload() {}
+ virtual void unload() = 0;
- virtual void guiWindowsLoaded() {}
+ virtual void flushNetwork() = 0;
+
+ virtual bool isNetworkConnected() = 0;
+
+ virtual void guiWindowsLoaded() = 0;
};
}