mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 18:25:30 +02:00
Port from git
This commit is contained in:
21
Source/Database/DB.h
Normal file
21
Source/Database/DB.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* This file is subject to the terms and conditions defined in
|
||||
* file 'LICENSE.txt', which is part of this source code package.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <sqlite3.h>
|
||||
#include <string>
|
||||
class DB
|
||||
{
|
||||
public:
|
||||
DB();
|
||||
bool Initialize();
|
||||
void DeInitialize();
|
||||
virtual ~DB();
|
||||
sqlite3 *GetHandle() { return Handle; }
|
||||
|
||||
private:
|
||||
sqlite3 *Handle;
|
||||
std::string Path;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user