stated to implement threading

This commit is contained in:
2020-08-03 22:40:07 +02:00
parent 8e4837a317
commit daa3a27edb
10 changed files with 264 additions and 10 deletions

39
src/TUI/tui.cpp Normal file
View File

@ -0,0 +1,39 @@
/**
* @file tui.cpp
* @brief display user interface
* @author hendrik schutter
* @date 03.08.2020
*/
/*
#include "../include/reHDD.h"
*/
/**
* \brief wipe drive with shred
* \param pointer of Drive instance
* \return void
*/
/*
void TUI::initTUI()
{
initscr();
raw();
keypad(stdscr,TRUE);
if(has_colors() == TRUE) {
start_color();
} else {
printf("Your terminal does not support color\n");
exit(1);
}
clear();
curs_set(0);
init_color(COLOR_GRAY, 173, 170, 173);
}
void TUI::updateTUI(TUI_DATA data){
}*/