Joedb 10.3.0
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 public:
13 const char *get_name() const override
14 {
15 return "dummy";
16 }
17
19 (
20 Logger &logger,
21 Arguments &arguments,
22 Abstract_File *file
23 ) override
24 {
25 return &Connection::dummy;
26 }
27 };
28}
29
30#endif
Class for conveniently parsing command-line arguments.
Definition Arguments.h:19
static Connection dummy
Since this class has no internal state, this global variable can be used instead of creating an insta...
Definition Connection.h:107
Connection * build(Logger &logger, Arguments &arguments, Abstract_File *file) override
const char * get_name() const override