use path to save json file (sales)

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

View file

@ -11,7 +11,7 @@ class JsonUtil
public:
static void exportSellers(const std::string& filename, Marketplace* market);
static void importSellers(const std::filesystem::path& filePath, Marketplace* market);
static void exportSales(const std::string& filename, Marketplace* market, int cashPointNo);
static void exportSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
static void importSales(const std::filesystem::path& filePath, Marketplace* market, int cashPointNo);
};