mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-20 06:05:23 +00:00
24 lines
348 B
C
24 lines
348 B
C
|
#ifndef OPENDIABLO2_D2INPUT_H
|
||
|
#define OPENDIABLO2_D2INPUT_H
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
namespace OpenDiablo2 {
|
||
|
namespace System {
|
||
|
|
||
|
class D2Input {
|
||
|
public:
|
||
|
typedef std::unique_ptr<D2Input> Ptr;
|
||
|
D2Input();
|
||
|
void ProcessEvents();
|
||
|
bool QuitIsRequested();
|
||
|
private:
|
||
|
bool quitIsRequested = false;
|
||
|
};
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif //OPENDIABLO2_D2INPUT_H
|