Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Command_Processor.h
Go to the documentation of this file.
1#ifndef joedb_Command_Processor_declared
2#define joedb_Command_Processor_declared
3
4#include <string>
5#include <iostream>
6
7namespace joedb
8{
9 /// @ingroup ui
11 {
12 public:
13 enum class Status {ok, done, quit, abort, not_found};
14
16 (
17 const std::string &command,
18 std::istream &parameters,
19 std::istream &in,
20 std::ostream &out
21 ) = 0;
22
24 };
25}
26
27#endif
virtual Status process_command(const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out)=0
Definition Blob.h:7