Storia
 
Loading...
Searching...
No Matches
utiles.h
Go to the documentation of this file.
1#pragma once
2#include "pch.h"
3#include "user.h"
4
5namespace Utiles
6{
7 void SetColor(int textColor);
8 void resetColor();
9
10 nlohmann::json loadFile(const std::string& fileName);
11 void displayFile(const std::string& fileName);
12
13 void saveToFile(const std::string& fileName, const nlohmann::json& data);
14 std::string sha256FromString(const std::string& input);
15
16 bool isFileEmpty(const std::string& fileName);
17};
Definition utiles.cpp:4
void resetColor()
Definition utiles.cpp:12
void SetColor(int textColor)
Definition utiles.cpp:6
void displayFile(const std::string &fileName)
Definition utiles.cpp:35
bool isFileEmpty(const std::string &fileName)
Definition utiles.cpp:74
nlohmann::json loadFile(const std::string &fileName)
Definition utiles.cpp:18
std::string sha256FromString(const std::string &input)
Definition utiles.cpp:90
void saveToFile(const std::string &fileName, const nlohmann::json &data)
Definition utiles.cpp:48