integrated menuInformationsSites to

driveMenu items
This commit is contained in:
2023-05-11 08:39:06 +02:00
parent 8e5a47f65b
commit df6a4b5e92
8 changed files with 64 additions and 38 deletions
+2 -10
View File
@@ -11,14 +11,14 @@
#ifndef MENU_DRIVE_MODI_H
#define MENU_DRIVE_MODI_H
#include "menuControl.h"
#include "menuInformationSites.h"
#include "driveModi/driveManager.h"
/**
* @brief A base class for Menus about DriveModi
*
*/
class MenuDriveMode : public MenuControl {
class MenuDriveMode : public MenuInformationSites {
public:
/**
* @brief Construct a new Menu Drive Mode object
@@ -27,10 +27,6 @@ class MenuDriveMode : public MenuControl {
*/
MenuDriveMode(DriveManager* driveManager);
void down() override {}
void up() override {}
void right() override {}
/**
* @brief Goes back to the parentMenu.
*/
@@ -40,10 +36,6 @@ class MenuDriveMode : public MenuControl {
* @brief Calls left.
*/
void no() override;
void yes() override {}
virtual void printMenu() = 0;
protected:
DriveManager* driveManager;