Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
readonly_h.h
Go to the documentation of this file.
1#ifndef joedb_generator_readonly_h_declared
2#define joedb_generator_readonly_h_declared
3
5
6namespace joedb::generator
7{
8 /// @ingroup compiler
9 class readonly_h: public Generator
10 {
11 public:
13 Generator(".", "readonly.h", options)
14 {
15 }
16
17 void generate() override
18 {
19 out << R"RRR(#include "Readonly_Database.h"
20#include "Readonly_Client.h"
21#include "Types.h"
22//#warning readonly header is deprecated
23)RRR";
24 out.flush();
25 }
26 };
27}
28
29#endif
const Compiler_Options & options
Definition Generator.h:13
readonly_h(const Compiler_Options &options)
Definition readonly_h.h:12
One code generator for each of the file generated by joedbc.
Definition Client_h.cpp:5