view LightClone/Source/EventSink.h @ 15:ee1c2510096d

Work on GUI system
author koryspansel <koryspansel@bendbroadband.com>
date Wed, 14 Sep 2011 11:04:18 -0700
parents c046b9e8ae32
children
line wrap: on
line source

/*
 * EventSink
 */

#ifndef __EVENTSINK_H__
#define __EVENTSINK_H__

#include "Core.h"
#include "ArrayList.h"
#include "Event.h"

/*
 * EventSink
 */
class EventSink
{
public:

	/*
	 * ~EventSink
	 */
	virtual ~EventSink();

	/*
	 * ProcessEvent
	 */
	virtual int32 ProcessEvent(const Event& kEvent) = 0;
};

/*
 * EventSinkList
 */
typedef ArrayList<EventSink*> EventSinkList;

#endif //__EVENTSINK_H__