GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/options/options_listener.h Lines: 2 2 100.0 %
Date: 2021-03-22 Branches: 0 0 0.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file options_listener.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andrew Reynolds
6
 ** This file is part of the CVC4 project.
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.\endverbatim
11
 **
12
 ** \brief Base class for option listener
13
 **/
14
15
#include "cvc4_private.h"
16
17
#ifndef CVC4__OPTIONS__OPTIONS_LISTENER_H
18
#define CVC4__OPTIONS__OPTIONS_LISTENER_H
19
20
#include <string>
21
22
namespace CVC4 {
23
24
class OptionsListener
25
{
26
 public:
27
9620
  OptionsListener() {}
28
9599
  virtual ~OptionsListener() {}
29
  /**
30
   * Notify that option key has been set.
31
   */
32
  virtual void notifySetOption(const std::string& key) = 0;
33
};
34
35
}  // namespace CVC4
36
37
#endif /* CVC4__OPTIONS__OPTION_LISTENER_H */