Finish documention until someone change something

This commit is contained in:
2022-02-15 20:12:50 +01:00
parent 3a2e51713b
commit c8e3344b27
50 changed files with 991 additions and 223 deletions
+3 -17
View File
@@ -1,7 +1,7 @@
/**
* @file menuEntry.cpp
* @file menuAction.cpp
* @author Alexander Klein (alex@kleiax.de)
* @brief
* @brief Implentation of the class MenuAction
* @version 0.1
* @date 2022-01-12
*
@@ -16,20 +16,6 @@ MenuAction::MenuAction(const char* name, void (*function) (), void (*callback) (
this->callback = callback;
}
MenuAction::MenuAction(const char* name, void (*function) ()) {
this->name = name;
this->function = function;
this->callback = nullptr;
}
// MenuAction::MenuAction(const char* name, void (DriveManager:: *classFunction) ()) {
// this->name = name;
// this->classFunction = classFunction;
// this->classFunc = true;
// this->function = nullptr;
// this->callback = nullptr;
// }
MenuAction::MenuAction(const char* name, MenuControl* menu) {
this->name = name;
this->menu = menu;
@@ -60,4 +46,4 @@ MenuControl* MenuAction::getMenu() {
return this->menu;
else
return nullptr;
}
}