summaryrefslogtreecommitdiffstats
path: root/EventHandler.h
blob: dabb25ba9cb9fdffe3facda0a6c8ccd41ad39715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef EVENTHANDLER_H_
#define EVENTHANDLER_H_

class EventHandler {
  public:
    virtual ~EventHandler() {}
    
    virtual bool buttonPress(unsigned int button) {return false;}
    virtual bool buttonRelease(unsigned int button) {return false;}
    virtual bool motion() {return false;}
};

#endif /*EVENTHANDLER_H_*/