diff options
author | lloyd <[email protected]> | 2006-12-14 11:12:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-12-14 11:12:32 +0000 |
commit | 2b32d88fabd0cf45cb42981dd03258b39d1828c4 (patch) | |
tree | db8549290d367b6eef4ff62ff4bc62357135afe4 /include/ui.h | |
parent | 780243495bda65e52f8f1797a3db0a25e420998b (diff) |
Move the UI pulse functions into the global library state. That is (as best
as I can tell) the last of the global data, with the exception of the single
global_lib_state pointer in libstate.cpp
Diffstat (limited to 'include/ui.h')
-rw-r--r-- | include/ui.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/ui.h b/include/ui.h index a956518d6..888d92c48 100644 --- a/include/ui.h +++ b/include/ui.h @@ -28,36 +28,6 @@ class User_Interface mutable bool first_try; }; -namespace UI { - -/************************************************* -* Pulse Function * -*************************************************/ -enum Pulse_Type { - GENERAL_PULSE, - - PIPE_WRITE, - - PRIME_SEARCHING, - PRIME_SIEVING, - PRIME_PASSED_SIEVE, - PRIME_TESTING, - PRIME_FOUND -}; -typedef void (*pulse_func)(Pulse_Type, void*); - -/************************************************* -* Set the UI pulse function * -*************************************************/ -void set_pulse(pulse_func, void* = 0); - -/************************************************* -* Call the UI pulse function * -*************************************************/ -void pulse(Pulse_Type = GENERAL_PULSE); - -} - } #endif |