Show information dialog about outdated database file

This commit is contained in:
Martin Brodbeck 2019-10-04 15:50:13 +02:00
parent a33b9896b3
commit 57bfe3af62
5 changed files with 19 additions and 4 deletions

View file

@ -1,6 +1,7 @@
#ifndef MARKETPLACE_H
#define MARKETPLACE_H
#include "database.h"
#include "article.h"
#include "sale.h"
#include "seller.h"
@ -23,7 +24,7 @@ class Marketplace
Marketplace();
void storeToDb(bool onlyDelete = false);
void loadFromDb();
Database::InitResult loadFromDb();
SellersVec& getSellers();
SalesVec& getSales();
@ -69,4 +70,4 @@ std::string marketFeeAsString(int sumInCent, int percent, int maxFeeInCent);
std::string paymentAsString(int sumInCent, int percent, int maxFeeInCent);
std::string escapeCsvValue(const std::string& value, const char delimiter);
#endif
#endif