You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
405 B
26 lines
405 B
#include "EventListener.h"
|
|
|
|
bool EventListener::hasEvent()
|
|
{
|
|
}
|
|
|
|
Event* EventListener::popEvent()
|
|
{
|
|
}
|
|
|
|
void EventListener::pushEvent(kernel_handle_t handle)
|
|
{
|
|
}
|
|
|
|
class IEventListener
|
|
{
|
|
private:
|
|
Queue<Event*> m_events;
|
|
protected:
|
|
bool hasEvent();
|
|
Event* popEvent();
|
|
public:
|
|
void pushEvent(kernel_handle_t handle);
|
|
uint32_t getEventSourceMask();
|
|
uint16_t getEventTypeMask();
|
|
};
|