Show information dialog about outdated database file
This commit is contained in:
parent
a33b9896b3
commit
57bfe3af62
5 changed files with 19 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue