aboutsummaryrefslogtreecommitdiff
path: root/brep/options.cli
blob: b7c571e8b993b3f62559cf74e30639c7af253b85 (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 = 5432;
  };

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

  class view_options: module_options, db_options
  {
  };
}