aboutsummaryrefslogtreecommitdiff
path: root/brep/options.cli
blob: 8da666f82ccbdaf46c470e7c53ce4469240ef9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
include <string>;
include <cstdint>;

namespace brep
{
  class module_options
  {
    std::uint16_t verb = 0;
  };

  class db_options
  {
    std::string db-host = "localhost";
    std::uint16_t db-port = 3306;
  };

  class search_options: module_options, db_options
  {
    size_t results-on-page = 10;
  };

  class view_options: module_options, db_options
  {
  };
}