FOSSredder 0.5.0
Loading...
Searching...
No Matches
Factory.h
Go to the documentation of this file.
1
6
7#pragma once
8
9#include <memory>
10#include <string>
11
12namespace core::ports::storage {
13class IRegistry;
14}
15
16class SqliteDb;
17
23std::shared_ptr<SqliteDb> createSqliteDb(const std::string& dbPath);
24
30std::shared_ptr<core::ports::storage::IRegistry>
31createSqliteRegistry(const std::string& dbPath);
std::shared_ptr< core::ports::storage::IRegistry > createSqliteRegistry(const std::string &dbPath)
Create the SQLite-backed registry for the given path.
std::shared_ptr< SqliteDb > createSqliteDb(const std::string &dbPath)
Create a SQLite database wrapper for the given path.
Definition Factory.cpp:9