XScreen.h

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2002 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #ifndef XSCREEN_H
00016 #define XSCREEN_H
00017 
00018 #include "XBase.h"
00019 
00021 XBASE_SUBCLASS(XScreen, XBase);
00022 
00024 
00027 XBASE_SUBCLASS_WHAT(XScreenOpenFailure, XScreen);
00028 
00030 
00034 class XScreenUnavailable : public XScreenOpenFailure {
00035 public:
00040     XScreenUnavailable(double timeUntilRetry);
00041     virtual ~XScreenUnavailable();
00042 
00044 
00045 
00047 
00050     double              getRetryTime() const;
00051 
00053 
00054 protected:
00055     virtual CString     getWhat() const throw();
00056 
00057 private:
00058     double              m_timeUntilRetry;
00059 };
00060 
00061 #endif

Generated on Fri Nov 6 00:18:46 2009 for synergy-plus by  doxygen 1.4.7