mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-02 00:20:22 +02:00
LevelDB support
This commit is contained in:
17
db-sqlite3.h
Normal file
17
db-sqlite3.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef _DB_SQLITE3_H
|
||||
#define _DB_SQLITE3_H
|
||||
|
||||
#include "db.h"
|
||||
#include <sqlite3.h>
|
||||
|
||||
class DBSQLite3 : public DB {
|
||||
public:
|
||||
DBSQLite3(const std::string &mapdir);
|
||||
virtual std::vector<int64_t> getBlockPos();
|
||||
virtual DBBlockList getBlocksOnZ(int zPos);
|
||||
~DBSQLite3();
|
||||
private:
|
||||
sqlite3 *m_db;
|
||||
};
|
||||
|
||||
#endif // _DB_SQLITE3_H
|
Reference in New Issue
Block a user