conffiletemp.h
321 Bytes
#ifndef CONFFILETEMP_H
#define CONFFILETEMP_H
#include <string>
class ConfFileTemp
{
int fd = -1;
std::string filePath;
public:
ConfFileTemp();
~ConfFileTemp();
const std::string &getFilePath() const;
void writeLine(const std::string &line);
void closeFile();
};
#endif // CONFFILETEMP_H