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-10-12 14:55:10 +0000
committerStijn Buys <ingar@osirion.org>2008-10-12 14:55:10 +0000
commitb417df720584c101f3799874a0c836a543a8d0a8 (patch)
treefb7105ed662f13753a6ab8d3efb047bad04f2316 /src/client/client.h
parent18383a5fc596bf9546f14d7393ee66c57720b116 (diff)
user interface updates, work-in-progress
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
index bd7af6b..dc70e16 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -8,6 +8,7 @@
#define __INCLUDED_CLIENT_H__
#include "core/application.h"
+#include "client/view.h"
/// client part of the engine
namespace client {
@@ -46,10 +47,15 @@ public:
/// disconnect notification
virtual void notify_disconnect();
+ /// the main client view
+ inline View *view() { return client_view; }
+
protected:
/// run a client frame
virtual void frame(float seconds);
+private:
+ View *client_view;
};