-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
32 lines (25 loc) · 908 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#define CURL_STATICLIB
#include <windows.h>
#include <iostream>
#include <fstream>
#include <string>
#include <thread>
#include <format>
#include <curl/curl.h> //áåðåì curl äëÿ âûïîëíåíèÿ ñåòåâûõ çàïðîñîâ, ïîòîìó ÷òî î÷åíü óäîáíàÿ è ïîïóëÿðíàÿ áèáëèîòåêà (https://github.com/curl/curl)
#include "dependencies/nlohmann/json.hpp" //ïîïóëÿðíàÿ áèáëèîòåêà äëÿ ðàáîòû ñ json (https://github.com/nlohmann/json)
#include "dependencies/winreg/WinReg.hpp" //íå î÷åíü ïîïóëÿðíàÿ íî ïðîñòàÿ áèáëèîòåêà äëÿ ðàáîòû ñ ðååñòðîì (https://github.com/GiovanniDicanio/WinReg)
using namespace std;
using namespace nlohmann;
using namespace winreg;
namespace fs = std::filesystem;
#include "settings.h"
#include "logger.h"
#include "network.h"
#include "service.h"
#include "nbu_parser_service.h"
int main()
{
logger::write_log("main");
nbu_service_parser parser = nbu_service_parser();
return parser.run();
}