2024-08-19 02:35:16 +03:00
|
|
|
#ifndef PARSER_H
|
|
|
|
#define PARSER_H
|
|
|
|
|
2024-10-05 13:52:44 +03:00
|
|
|
#include "../goods/goods.h"
|
2024-08-19 02:35:16 +03:00
|
|
|
#include "module.h"
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
class Parser {
|
|
|
|
|
2024-08-30 05:03:32 +03:00
|
|
|
StoreModule module;
|
2024-10-05 13:52:44 +03:00
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
public:
|
|
|
|
Parser();
|
|
|
|
|
|
|
|
std::vector<std::string> search_modules();
|
|
|
|
|
2024-10-05 13:52:44 +03:00
|
|
|
std::vector<std::string> check_updates();
|
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
void set_module(std::string);
|
2024-08-20 02:38:40 +03:00
|
|
|
|
2024-10-05 13:52:44 +03:00
|
|
|
std::vector<Goods> parse(std::wstring);
|
2024-08-19 02:35:16 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PARSER_H
|