PPI: Fix IntervalTimer unit test
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1059
270642c3-0616-0410-b53a-bc976706d245
};
bool is_close_clock(senf::ClockService::clock_type a, senf::ClockService::clock_type b,
- unsigned long delta)
+ senf::ClockService::clock_type delta)
{
return (a<b ? b-a : a-b ) < delta;
}
senf::ppi::run();
BOOST_CHECK_PREDICATE( is_close_clock,
(senf::ClockService::now())
- (start+senf::ClockService::milliseconds(400))
+ (start+senf::ClockService::milliseconds(300))
(senf::ClockService::milliseconds(100)) );
}
namespace {
bool is_close_clock(senf::ClockService::clock_type a, senf::ClockService::clock_type b,
- unsigned long delta)
+ senf::ClockService::clock_type delta)
{
return (a<b ? b-a : a-b ) < delta;
}
}
}
-prefix_ void senf::term::LineEditor::auxDisplay(int line, std::string const & text)
+prefix_ void senf::term::LineEditor::auxDisplay(unsigned line, std::string const & text)
{
toLine(line+1);
clearLine();
///\name Aux Display
///\{
- void auxDisplay(int line, std::string const & text);
+ void auxDisplay(unsigned line, std::string const & text);
///< Display \a text on aux display line \a lilne
unsigned maxAuxDisplayHeight(); ///< Get maximum height of the aux display area
void clearAuxDisplay(); ///< Clear the aux display area