Output to csv, started work on OFD module

This commit is contained in:
2024-08-30 05:03:32 +03:00
parent 64e40071b2
commit d9fca88af3
21 changed files with 606 additions and 163 deletions

View File

@@ -1,10 +1,10 @@
#ifndef MODULE_H
#define MODULE_H
#ifndef STORE_MODULE_H
#define STORE_MODULE_H
#include <string>
#include <nlohmann/json.hpp>
#include <vector>
class Module {
class StoreModule {
std::string path;
std::wstring name;
std::wstring goods_name_regex;
@@ -13,8 +13,8 @@ class Module {
std::wstring check_start_regex;
std::wstring check_end_regex;
public:
Module(std::string);
Module();
StoreModule(std::string);
StoreModule();
std::vector<std::string> parse_name(std::wstring);
std::vector<std::string> parse_price(std::wstring);
@@ -25,4 +25,4 @@ public:
std::wstring get_name();
};
#endif // MODULE_H
#endif // STORE_MODULE_H