Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

add dummy view for stampS3

Geo7e5938d4c006
diff --git a/src/Views/NoScreenDeviceView.cpp b/src/Views/NoScreenDeviceView.cpp
new file mode 100644
index 00000000..812cd3dd
--- /dev/null
+++ b/src/Views/NoScreenDeviceView.cpp
@@ -0,0 +1,25 @@
+#include "Views/NoScreenDeviceView.h"
+
+void NoScreenDeviceView::initialize() {}
+
+void NoScreenDeviceView::logo() {}
+
+void NoScreenDeviceView::welcome(TerminalTypeEnum& terminalType, std::string& terminalInfos) {}
+
+void NoScreenDeviceView::show(PinoutConfig& config) {}
+
+void NoScreenDeviceView::loading() {}
+
+void NoScreenDeviceView::clear() {}
+
+void NoScreenDeviceView::drawLogicTrace(uint8_t pin, const std::vector<uint8_t>& buffer) {}
+
+void NoScreenDeviceView::setRotation(uint8_t rotation) {}
+
+void NoScreenDeviceView::topBar(const std::string& title, bool submenu, bool searchBar) {}
+
+void NoScreenDeviceView::horizontalSelection(
+ const std::vector<std::string>& options,
+ uint16_t selectedIndex,
+ const std::string& description1,
+ const std::string& description2) {}
diff --git a/src/Views/NoScreenDeviceView.h b/src/Views/NoScreenDeviceView.h
new file mode 100644
index 00000000..0b99d7c2
--- /dev/null
+++ b/src/Views/NoScreenDeviceView.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "Interfaces/IDeviceView.h"
+#include <iostream>
+
+class NoScreenDeviceView : public IDeviceView {
+public:
+ void initialize() override;
+ void logo() override;
+ void welcome(TerminalTypeEnum& terminalType, std::string& terminalInfos) override;
+ void show(PinoutConfig& config) override;
+ void loading() override;
+ void clear() override;
+ void drawLogicTrace(uint8_t pin, const std::vector<uint8_t>& buffer) override;
+ void setRotation(uint8_t rotation) override;
+ void topBar(const std::string& title, bool submenu, bool searchBar) override;
+ void horizontalSelection(
+ const std::vector<std::string>& options,
+ uint16_t selectedIndex,
+ const std::string& description1,
+ const std::string& description2) override;
+};