Global Using Namespace in Header

This commit is contained in:
2025-12-09 21:58:57 +01:00
parent c9c4c0fac2
commit 15014d8542
12 changed files with 47 additions and 42 deletions

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
/**
* \brief delete drive with wipefs
@ -34,7 +35,7 @@ void Delete::deleteDrive(Drive *drive)
if (drive->bWasShredStarted == false)
{
//only start delete if the drive was not shredded before
// only start delete if the drive was not shredded before
FILE *deleteCmdOutput = popen(cpComand, "r");
while ((getline(&cLine, &len, deleteCmdOutput)) != -1)

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
string Drive::getPath(void)
{

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
/**
* \brief app entry point

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
bool Printer::instanceFlag = false;
Printer *Printer::single = NULL;

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
static int fdNewDrivesInformPipe[2]; // File descriptor for pipe that informs if new drives are found

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
#ifdef __cplusplus
extern "C"

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
/**
* \brief get and set S.M.A.R.T. values in Drive

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
using namespace std;
static std::mutex mxUIrefresh;