Hal refactored (#99)
This commit is contained in:
committed by
GitHub
parent
0188ce721c
commit
33bb742dfb
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "lvgl.h"
|
||||
|
||||
namespace tt::hal {
|
||||
|
||||
class Display;
|
||||
|
||||
class Keyboard {
|
||||
public:
|
||||
[[nodiscard]] virtual bool start(lv_display_t* display) = 0;
|
||||
[[nodiscard]] virtual bool stop() = 0;
|
||||
[[nodiscard]] virtual bool isAttached() const = 0;
|
||||
|
||||
[[nodiscard]] virtual lv_indev_t* _Nullable getLvglIndev() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user