Skip to content

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

add guide shell to provider

Geo859c47fba9b1
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cpp
index 7ef56ca5..622094d1 100644
--- a/src/Providers/DependencyProvider.cpp
+++ b/src/Providers/DependencyProvider.cpp
@@ -68,6 +68,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceView
sysInfoShell(terminalView, terminalInput, userInputManager, argTransformer, systemService, wifiService),
modbusShell(terminalView, terminalInput, argTransformer, userInputManager, modbusService),
oneWireEepromShell(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, binaryAnalyzeManager),
+ guideShell(terminalView, terminalInput, userInputManager),
// Selectors
horizontalSelector(deviceView, deviceInput),
@@ -80,7 +81,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceView
i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),
oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell, oneWireEepromShell),
infraredController(terminalView, terminalInput, infraredService, littleFsService, argTransformer, infraredTransformer, userInputManager, universalRemoteShell),
- utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer, sysInfoShell),
+ utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer, sysInfoShell, guideShell),
hdUartController(terminalView, terminalInput, deviceInput, hdUartService, uartService, argTransformer, userInputManager),
spiController(terminalView, terminalInput, spiService, sdService, argTransformer, userInputManager, binaryAnalyzeManager, sdCardShell, spiFlashShell, spiEepromShell),
jtagController(terminalView, terminalInput, jtagService, userInputManager),
diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.h
index ff40771d..af0db1ca 100644
--- a/src/Providers/DependencyProvider.h
+++ b/src/Providers/DependencyProvider.h
@@ -82,6 +82,7 @@ and injecting shared instances of core components
#include "Shells/SysInfoShell.h"
#include "Shells/ModbusShell.h"
#include "Shells/OneWireEepromShell.h"
+#include "Shells/GuideShell.h"
#include "Config/TerminalTypeConfigurator.h"
class DependencyProvider
@@ -184,7 +185,8 @@ public:
UartAtShell &getUartAtShell();
SysInfoShell &getSysInfoShell();
ModbusShell &getModbusShell();
- OneWireEepromShell &getOneWireEepromShell();
+ OneWireEepromShell &getOneWireEepromShell();
+ GuideShell &getGuideShell();
// Selectors
HorizontalSelector &getHorizontalSelector();
@@ -287,6 +289,7 @@ private:
SysInfoShell sysInfoShell;
ModbusShell modbusShell;
OneWireEepromShell oneWireEepromShell;
+ GuideShell guideShell;
// Selectors
HorizontalSelector horizontalSelector;