-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not artificially separate message handler and uit
They were passed around independently, even though they originated from the very same object.
- Loading branch information
1 parent
d6bdee6
commit 31e6b52
Showing
14 changed files
with
49 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,18 +29,17 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include "bv_cbmc.h" | ||
|
||
class cbmc_solverst:public messaget | ||
class cbmc_solverst | ||
{ | ||
public: | ||
cbmc_solverst( | ||
const optionst &_options, | ||
const symbol_tablet &_symbol_table, | ||
message_handlert &_message_handler): | ||
messaget(_message_handler), | ||
ui_message_handlert &_message_handler): | ||
options(_options), | ||
symbol_table(_symbol_table), | ||
ns(_symbol_table), | ||
ui(ui_message_handlert::uit::PLAIN) | ||
ui(_message_handler) | ||
{ | ||
} | ||
|
||
|
@@ -120,15 +119,11 @@ class cbmc_solverst:public messaget | |
{ | ||
} | ||
|
||
void set_ui(ui_message_handlert::uit _ui) { ui=_ui; } | ||
|
||
protected: | ||
const optionst &options; | ||
const symbol_tablet &symbol_table; | ||
namespacet ns; | ||
|
||
// use gui format | ||
ui_message_handlert::uit ui; | ||
ui_message_handlert &ui; | ||
|
||
std::unique_ptr<solvert> get_default(); | ||
std::unique_ptr<solvert> get_dimacs(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.