upd: ready to write the database and engine
This commit is contained in:
@ -4,6 +4,11 @@
|
||||
#include <string>
|
||||
|
||||
#include "bs-utility.h"
|
||||
|
||||
BookStoreEngineClass::BookStoreEngineClass(std::string __config_dir) {
|
||||
config_dir = __config_dir;
|
||||
user_data_base.Open(config_dir + "user");
|
||||
}
|
||||
std::vector<std::string> BookStoreEngineClass::Execute(
|
||||
const std::string &cmd, std::stack<std::string> &login_stack) {
|
||||
if (cmd == "quit" || cmd == "exit") {
|
||||
|
Reference in New Issue
Block a user