Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-18 09:21:20 +0000
committerStijn Buys <ingar@osirion.org>2008-05-18 09:21:20 +0000
commit4a2bad92171ff8a9a248599f47087cfe39e93653 (patch)
treeb8a4fe7f616b3e4f707d89a35fff5e8b5fdcfcc8 /src/client/client.h
parenta185c11f2397c0296a4b62cc266b4fa00a63c1e2 (diff)
OpenAL support
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
index b1a50df..57488ec 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -7,12 +7,37 @@
#ifndef __INCLUDED_CLIENT_H__
#define __INCLUDED_CLIENT_H__
+#include "core/application.h"
+
/// client part of the engine
namespace client {
+/// client application implementation
+class Client : public core::Application
+{
+public:
+ /// initialize the client
+ virtual void init(int count, char **arguments);
+
+ /// run the client
+ virtual void run();
+
+ /// shutdown the client
+ virtual void shutdown();
+
+ /// quit the client
+ virtual void quit(int status);
+
+ /// sound notifications from the core to the application
+ virtual void notify_sound(const char * name);
+};
+
+
/// the client main loop
void client_main(int count, char **arguments);
+Client *client();
+
}
#endif // __INCLUDED_CLIENT_H__