/*!
	@file
	@author		Albert Semenov
	@date		09/2008
	@module
*/
#ifndef __DEMO_KEEPER_H__
#define __DEMO_KEEPER_H__

#include <MyGUI.h>
#include "BaseManager.h"
#include "Console.h"

namespace demo
{

	class DemoKeeper : public base::BaseManager
	{
	public:
		DemoKeeper();

		virtual void createScene();
		virtual void destroyScene();

		virtual void injectKeyPress(MyGUI::KeyCode _key, MyGUI::Char _text);

	private:
		void command(const MyGUI::UString & _key, const MyGUI::UString & _value);
		virtual void setupResources();

	private:
		Console * mConsole;
		MyGUI::Edit* mEdit;
	};

} // namespace demo

#endif // __DEMO_KEEPER_H__
