From 4a2bad92171ff8a9a248599f47087cfe39e93653 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 May 2008 09:21:20 +0000 Subject: OpenAL support --- src/client/client.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/client/client.h') 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__ -- cgit v1.2.3