added shadowrun database

This commit is contained in:
2025-06-01 21:19:54 +02:00
parent 71f771b428
commit 69f7f625f8
20 changed files with 738 additions and 103 deletions

21
src/database/database.hpp Normal file
View File

@@ -0,0 +1,21 @@
#ifndef __DATABASE_H__
#define __DATABASE_H__
#include "sqlite3.h"
#include <string>
class Database {
public:
Database();
~Database();
bool open();
bool exec(const char* sqlQuery);
bool exec(const std::string& sqlQuery);
private:
sqlite3* m_db;
};
#endif // __DATABASE_H__