mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 07:25:06 +00:00
Simplify NativeDisplay interface
This commit is contained in:
parent
e1bd49cbc0
commit
7de3b871c6
@ -47,9 +47,8 @@ public:
|
|||||||
|
|
||||||
// region NativedDisplay
|
// region NativedDisplay
|
||||||
|
|
||||||
bool supportsNativeDisplay() const final { return true; }
|
/** @return a NativeDisplay if this device supports it */
|
||||||
|
std::shared_ptr<tt::hal::display::NativeDisplay> _Nullable getNativeDisplay() final;
|
||||||
std::shared_ptr<tt::hal::display::NativeDisplay> getNativeDisplay() final;
|
|
||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
};
|
};
|
||||||
|
|||||||
@ -43,8 +43,7 @@ public:
|
|||||||
virtual bool startLvgl() { return false; }
|
virtual bool startLvgl() { return false; }
|
||||||
virtual bool stopLvgl() { return false; }
|
virtual bool stopLvgl() { return false; }
|
||||||
|
|
||||||
virtual bool supportsNativeDisplay() const { return false; }
|
virtual std::shared_ptr<NativeDisplay> _Nullable getNativeDisplay() { return nullptr; }
|
||||||
virtual std::shared_ptr<NativeDisplay> getNativeDisplay() { return nullptr; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace tt::hal::display
|
} // namespace tt::hal::display
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user