kima2/src/core/jsonutil.h

20 lines
590 B
C
Raw Normal View History

2018-08-02 11:15:15 +02:00
#ifndef JSON_H
#define JSON_H
#include "marketplace.h"
2018-08-09 12:58:11 +02:00
#include <filesystem>
2019-10-07 14:08:01 +02:00
#include <string>
2018-08-02 11:15:15 +02:00
class JsonUtil
{
2022-07-07 15:21:46 +02:00
public:
static void exportSellers(const std::filesystem::path &filePath, Marketplace *market);
static std::size_t importSellers(const std::filesystem::path &filePath, Marketplace *market);
static void exportSales(const std::filesystem::path &filePath, Marketplace *market,
2019-10-07 14:08:01 +02:00
int cashPointNo);
2022-07-07 15:21:46 +02:00
static void importSales(const std::filesystem::path &filePath, Marketplace *market,
2019-10-07 14:08:01 +02:00
int cashPointNo);
2018-08-02 11:15:15 +02:00
};
#endif