summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/input/equeue.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-31 14:34:40 +0800
committerchai <chaifix@163.com>2019-03-31 14:34:40 +0800
commitfb7ae1149a80a22c77014d0ece33f6f4b965b631 (patch)
tree41540b0962be735204eb50eef54bd30e9184234a /source/modules/asura-core/input/equeue.cpp
parent8164adb15b76f537f8b6c78b9992786b61d61cc8 (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/input/equeue.cpp')
-rw-r--r--source/modules/asura-core/input/equeue.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/modules/asura-core/input/equeue.cpp b/source/modules/asura-core/input/equeue.cpp
new file mode 100644
index 0000000..e165393
--- /dev/null
+++ b/source/modules/asura-core/input/equeue.cpp
@@ -0,0 +1,28 @@
+#include "equeue.h"
+
+namespace AsuraEngine
+{
+ namespace Input
+ {
+
+ EQueue::EQueue()
+ {
+ // try create queue
+
+ ASSERT(mImpl);
+ }
+
+ EQueue::~EQueue()
+ {
+ if(mImpl)
+ delete mImpl;
+ }
+
+ bool EQueue::Poll(const Event& e)
+ {
+ ASSERT(mImpl);
+ return mImpl->Poll(e);
+ }
+
+ }
+} \ No newline at end of file