Danbias/Code/Misc/Input/Include/ApplicationKeyboard.h

34 lines
641 B
C
Raw Normal View History

2014-02-20 11:12:53 +01:00
/////////////////////////////////////////////////////////////////////
// Created by [Dan Andersson] [2014]
/////////////////////////////////////////////////////////////////////
#ifndef INPUT_APPLICATION_KEBOARD_H
#define INPUT_APPLICATION_KEBOARD_H
#include "InputObject.h"
2014-02-20 13:27:21 +01:00
#include <string>
2014-02-20 11:12:53 +01:00
namespace Input
{
2014-02-20 13:27:21 +01:00
class ApplicationKeyboard : public InputObject
2014-02-20 11:12:53 +01:00
{
public:
2014-02-20 13:27:21 +01:00
bool IsActive() const;
void Activate();
void Deactivate();
void SetTargetText( ::std::wstring *field );
2014-02-20 11:12:53 +01:00
protected:
2014-02-20 13:27:21 +01:00
::std::wstring *targetText;
ApplicationKeyboard();
~ApplicationKeyboard();
private:
bool active;
2014-02-20 11:12:53 +01:00
};
}
#endif // !INPUT_KEBOARD_H