diff options
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/src/ui.cpp b/src/ui.cpp index f8ce0c544..5bd51fb30 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -4,6 +4,7 @@ *************************************************/ #include <botan/ui.h> +#include <botan/libstate.h> namespace Botan { @@ -31,32 +32,4 @@ User_Interface::User_Interface(const std::string& preset) : first_try = true; } -namespace UI { - -/************************************************* -* The current pulse function * -*************************************************/ -pulse_func pulse_f = 0; -void* pulse_f_data = 0; - -/************************************************* -* Set the UI pulse function * -*************************************************/ -void set_pulse(pulse_func p, void* p_data) - { - pulse_f = p; - pulse_f_data = p_data; - } - -/************************************************* -* Call the UI pulse function * -*************************************************/ -void pulse(Pulse_Type type) - { - if(pulse_f) - pulse_f(type, pulse_f_data); - } - -} - } |