mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-15 03:08:52 +01:00
25 lines
417 B
C++
25 lines
417 B
C++
/* 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(std::string dbFile);
|
|
bool Initialize();
|
|
void DeInitialize();
|
|
virtual ~DB();
|
|
sqlite3 *GetHandle()
|
|
{
|
|
return Handle;
|
|
}
|
|
|
|
private:
|
|
sqlite3 *Handle;
|
|
std::string Path;
|
|
};
|
|
|