Joedb 10.0.1
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 override
17 {
18 return "dummy";
19 }
20
21 Connection *build(Arguments &arguments, Buffered_File *file) override
22 {
23 return &connection;
24 }
25 };
26}
27
28#endif
Class for conveniently parsing command-line arguments.
Definition Arguments.h:19
Connection * build(Arguments &arguments, Buffered_File *file) override
const char * get_name() const override
Definition Blob.h:7