aboutsummaryrefslogtreecommitdiff
path: root/brep/options.cli
blob: 606898c5585daf6ecd8508fcc8e06c0cdf960c82 (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
26
27
28
29
// file      : brep/options.cli -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

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
  {
  };
}