mirror of
https://github.com/yawaflua/tzeva-adom.git
synced 2025-12-09 20:09:26 +02:00
Fix language support and compatibility with windows.
This commit is contained in:
14
utils/check_file_exists.h
Normal file
14
utils/check_file_exists.h
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by yawaflua on 15/11/2024.
|
||||
//
|
||||
|
||||
#ifndef CHECK_FILE_EXISTS_H
|
||||
#define CHECK_FILE_EXISTS_H
|
||||
|
||||
|
||||
inline bool file_exists (const std::string& name) {
|
||||
struct stat buffer;
|
||||
return (stat (name.c_str(), &buffer) == 0);
|
||||
}
|
||||
|
||||
#endif //CHECK_FILE_EXISTS_H
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp> // Подключение библиотеки JSON
|
||||
#include <fmt/format.h>
|
||||
|
||||
namespace tzeva_adom {
|
||||
class LocalizationManager {
|
||||
|
||||
Reference in New Issue
Block a user