Foundation classes for a basic GUI implementing simple widgets and events. (Fork for custom changes.)

Fork of SimpleGUI by Duncan McIntyre

Events/EventSource.h

Committer:
elh
Date:
2016-10-18
Revision:
20:ef07d42ea062
Parent:
18:d849f3ada858

File content as of revision 20:ef07d42ea062:

#ifndef SIMPLEGUI_EVENT_SOURCE_H
#define SIMPLEGUI_EVENT_SOURCE_H

#include "EventDispatcher.h"

/**
* Interface defining a class which sources events
**/
class EventSource {
    
    public:
    
    EventSource(EventDispatcher* dispatcher) : _eventDispatcher(dispatcher) {}

    protected:
    
    EventDispatcher* _eventDispatcher; 
};


#endif