mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
28 lines
695 B
C++
28 lines
695 B
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef RIPPLE_SQLITEBACKENDFACTORY_H_INCLUDED
|
|
#define RIPPLE_SQLITEBACKENDFACTORY_H_INCLUDED
|
|
|
|
/** Factory to produce SQLite backends for the NodeStore.
|
|
*/
|
|
class SqliteBackendFactory : public NodeStore::BackendFactory
|
|
{
|
|
private:
|
|
class Backend;
|
|
|
|
SqliteBackendFactory ();
|
|
~SqliteBackendFactory ();
|
|
|
|
public:
|
|
static SqliteBackendFactory& getInstance ();
|
|
|
|
String getName () const;
|
|
NodeStore::Backend* createInstance (StringPairArray const& keyValues);
|
|
};
|
|
|
|
#endif
|