aboutsummaryrefslogtreecommitdiff
path: root/mod/options-types.hxx
blob: f2b059b107e1f6f4105d1b91a362e62bf0d27337 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// file      : mod/options-types.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

#ifndef MOD_OPTIONS_TYPES_HXX
#define MOD_OPTIONS_TYPES_HXX

#include <libbrep/types.hxx>
#include <libbrep/utility.hxx>

namespace brep
{
  // brep types
  //
  enum class page_form
  {
    full,
    brief
  };

  struct page_menu
  {
    string label;
    string link;

    page_menu () = default;
    page_menu (string b, string l): label (move (b)), link (move (l)) {}
  };

  enum class build_order
  {
    stable,
    random
  };

  enum class build_email
  {
    none,
    latest, // Only send emails for the latest package versions.
    all
  };
}

#endif // MOD_OPTIONS_TYPES_HXX