diff --git a/Nuake/src/UI/FileSystem.cpp b/Nuake/src/UI/FileSystem.cpp deleted file mode 100644 index 27cc16a9..00000000 --- a/Nuake/src/UI/FileSystem.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "FileSystem.h" -#include -#include - -namespace NuakeUI -{ - namespace FileSystem - { - bool FileExists(const std::string& path) - { - return std::filesystem::exists(path); - } - - std::string ReadFile(const std::string& path) - { - if (!FileExists(path)) - return ""; - - std::string fileContent; - std::string currentLine; - - std::ifstream file(path); - - while (getline(file, currentLine)) - { - fileContent += currentLine + "\n"; - } - - file.close(); - - return fileContent; - } - } -} \ No newline at end of file diff --git a/Nuake/src/UI/FileSystem.h b/Nuake/src/UI/FileSystem.h deleted file mode 100644 index 437b3942..00000000 --- a/Nuake/src/UI/FileSystem.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once -#include - -namespace NuakeUI -{ - namespace FileSystem - { - bool FileExists(const std::string& path); - std::string ReadFile(const std::string& path); - }; -}