Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Dummy_Connection_Builder.h
Go to the documentation of this file.
1#ifndef joedb_Dummy_Connection_Builder_declared
2#define joedb_Dummy_Connection_Builder_declared
3
6
7namespace joedb
8{
9 /// @ingroup ui
11 {
12 private:
13 Connection connection;
14
15 public:
16 const char *get_name() const final
17 {
18 return "dummy";
19 }
20
21 Connection &build(int argc, char **argv, Buffered_File *file) final
22 {
23 return connection;
24 }
25 };
26}
27
28#endif
Connection & build(int argc, char **argv, Buffered_File *file) final
Definition Blob.h:7