18 lines
No EOL
529 B
C++
18 lines
No EOL
529 B
C++
#ifndef JSON_H
|
|
#define JSON_H
|
|
|
|
#include "marketplace.h"
|
|
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
class JsonUtil
|
|
{
|
|
public:
|
|
static void exportSellers(const std::filesystem::path& filePath, Marketplace* market);
|
|
static void importSellers(const std::filesystem::path& filePath, Marketplace* market);
|
|
static void exportSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
|
|
static void importSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
|
|
};
|
|
|
|
#endif |