1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Andrew Reynolds |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS |
8 |
|
* in the top-level source directory and their institutional affiliations. |
9 |
|
* All rights reserved. See the file COPYING in the top-level source |
10 |
|
* directory for licensing information. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Base class for option listener. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "cvc5_private.h" |
17 |
|
|
18 |
|
#ifndef CVC5__OPTIONS__OPTIONS_LISTENER_H |
19 |
|
#define CVC5__OPTIONS__OPTIONS_LISTENER_H |
20 |
|
|
21 |
|
#include <string> |
22 |
|
|
23 |
|
namespace cvc5 { |
24 |
|
|
25 |
|
class OptionsListener |
26 |
|
{ |
27 |
|
public: |
28 |
10497 |
OptionsListener() {} |
29 |
10497 |
virtual ~OptionsListener() {} |
30 |
|
/** |
31 |
|
* Notify that option key has been set. |
32 |
|
*/ |
33 |
|
virtual void notifySetOption(const std::string& key) = 0; |
34 |
|
}; |
35 |
|
|
36 |
|
} // namespace cvc5 |
37 |
|
|
38 |
|
#endif /* CVC5__OPTIONS__OPTION_LISTENER_H */ |