summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-08 20:38:11 (GMT)
committerJF <jf@codingfield.com>2020-03-08 20:38:11 (GMT)
commitd834f40c1014ac8926af9aaadc434a49e632b000 (patch)
tree196fd24b617102eb1659e046623c107fa9795ac9 /src/drivers/Cst816s.h
parentbfecc8118e90998c62ff0b29c0260e66d83d8e33 (diff)
Do not copy LittleVgl object in DislayApp, use reference instead.
Make Cst816s, SpiMaster and St7789 not copiable and not movable
Diffstat (limited to 'src/drivers/Cst816s.h')
-rw-r--r--src/drivers/Cst816s.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/Cst816s.h b/src/drivers/Cst816s.h
index 93b05df..4a5dda6 100644
--- a/src/drivers/Cst816s.h
+++ b/src/drivers/Cst816s.h
@@ -27,6 +27,12 @@ namespace Pinetime {
bool isTouch = false;
};
+ Cst816S() = default;
+ Cst816S(const Cst816S&) = delete;
+ Cst816S& operator=(const Cst816S&) = delete;
+ Cst816S(Cst816S&&) = delete;
+ Cst816S& operator=(Cst816S&&) = delete;
+
void Init();
void Probe();
TouchInfos GetTouchInfo();