mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-07 08:07:40 +03:00
22 lines
335 B
C++
22 lines
335 B
C++
#pragma once
|
|
|
|
#include <HalDisplay.h>
|
|
#include <HalGPIO.h>
|
|
|
|
class HelloWorldActivity {
|
|
public:
|
|
HelloWorldActivity(HalDisplay& display, HalGPIO& input);
|
|
|
|
void onEnter();
|
|
void loop();
|
|
void onExit();
|
|
|
|
private:
|
|
HalDisplay& display_;
|
|
HalGPIO& input_;
|
|
bool needsUpdate_;
|
|
|
|
void render();
|
|
void returnToLauncher();
|
|
};
|