Outsourced file related operations
This commit is contained in:
13
include/FileService.h
Normal file
13
include/FileService.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef FILE_SERVICES_H
|
||||
#define FILE_SERVICES_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class FileServices {
|
||||
public:
|
||||
static bool doesNonEmptyFileExist(std::string);
|
||||
static void emptyFile(std::string);
|
||||
static void createOrOverwriteFile(std::string, std::string);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user