monotone

monotone Mtn Source Tree

Root/mtn-sanity.hh

1#ifndef __MTN_SANITY_HH__
2#define __MTN_SANITY_HH__
3
4#include "sanity.hh"
5
6struct mtn_sanity : public sanity
7{
8 bool relaxed;
9
10 mtn_sanity();
11 ~mtn_sanity();
12 void initialize(int, char **, char const *);
13
14 void set_relaxed(bool rel);
15
16private:
17 void inform_log(std::string const &msg);
18 void inform_message(std::string const &msg);
19 void inform_warning(std::string const &msg);
20 void inform_error(std::string const &msg);
21};
22
23extern mtn_sanity real_sanity;
24
25#endif
26
27
28// Local Variables:
29// mode: C++
30// fill-column: 76
31// c-file-style: "gnu"
32// indent-tabs-mode: nil
33// End:
34// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
35

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status