use path to save json file (sellers)

This commit is contained in:
Martin Brodbeck 2018-08-09 13:16:00 +02:00
parent 0967a01994
commit 0a1d946397
3 changed files with 6 additions and 4 deletions

View file

@ -9,7 +9,7 @@
class JsonUtil
{
public:
static void exportSellers(const std::string& filename, Marketplace* market);
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);