mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 11:39:58 +02:00
25 lines
460 B
C++
25 lines
460 B
C++
#ifndef ESCHER_VIEW_CONTROLLER_H
|
|
#define ESCHER_VIEW_CONTROLLER_H
|
|
|
|
extern "C" {
|
|
#include <stdint.h>
|
|
#include <kandinsky.h>
|
|
}
|
|
|
|
/* ViewControllers are reponsible for
|
|
* - Building the view hierarchy
|
|
* - Handling user input
|
|
*/
|
|
|
|
#include <escher/view.h>
|
|
#include <escher/responder.h>
|
|
|
|
class ViewController : public Responder {
|
|
public:
|
|
ViewController(Responder * parentResponder);
|
|
virtual const char * title() const;
|
|
virtual View * view() = 0;
|
|
};
|
|
|
|
#endif
|