2002-06-03 17:45:30 +04:00
|
|
|
#include "XScreen.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// XScreenOpenFailure
|
|
|
|
//
|
|
|
|
|
2002-06-11 02:06:45 +04:00
|
|
|
CString
|
|
|
|
XScreenOpenFailure::getWhat() const throw()
|
2002-06-03 17:45:30 +04:00
|
|
|
{
|
2002-07-25 21:52:40 +04:00
|
|
|
return format("XScreenOpenFailure", "unable to open screen");
|
2002-06-03 17:45:30 +04:00
|
|
|
}
|
2002-07-31 16:39:34 +04:00
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// XScreenUnavailable
|
|
|
|
//
|
|
|
|
|
|
|
|
XScreenUnavailable::XScreenUnavailable(double timeUntilRetry) :
|
|
|
|
m_timeUntilRetry(timeUntilRetry)
|
|
|
|
{
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
XScreenUnavailable::~XScreenUnavailable()
|
|
|
|
{
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
double
|
|
|
|
XScreenUnavailable::getRetryTime() const
|
|
|
|
{
|
|
|
|
return m_timeUntilRetry;
|
|
|
|
}
|
|
|
|
|
|
|
|
CString
|
|
|
|
XScreenUnavailable::getWhat() const throw()
|
|
|
|
{
|
|
|
|
return format("XScreenUnavailable", "unable to open screen");
|
|
|
|
}
|