Global Using Namespace in Header
This commit is contained in:
@ -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)
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
string Drive::getPath(void)
|
||||
{
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
/**
|
||||
* \brief app entry point
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
bool Printer::instanceFlag = false;
|
||||
Printer *Printer::single = NULL;
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
/**
|
||||
* \brief get and set S.M.A.R.T. values in Drive
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/reHDD.h"
|
||||
using namespace std;
|
||||
|
||||
static std::mutex mxUIrefresh;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user