kima2/src/core/jsonutil.h

18 lines
529 B
C
Raw Normal View History

2018-08-02 11:15:15 +02:00
#ifndef JSON_H
#define JSON_H
#include "marketplace.h"
#include <string>
2018-08-09 12:58:11 +02:00
#include <filesystem>
2018-08-02 11:15:15 +02:00
class JsonUtil
{
public:
2018-08-09 13:16:00 +02:00
static void exportSellers(const std::filesystem::path& filePath, Marketplace* market);
2018-08-09 12:58:11 +02:00
static void importSellers(const std::filesystem::path& filePath, Marketplace* market);
2018-08-09 13:11:23 +02:00
static void exportSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
2018-08-09 13:00:51 +02:00
static void importSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
2018-08-02 11:15:15 +02:00
};
#endif