barrier/synergy/XSynergy.h

35 lines
564 B
C
Raw Normal View History

2001-10-06 14:13:28 +00:00
#ifndef XSYNERGY_H
#define XSYNERGY_H
#include "XBase.h"
class XSynergy : public XBase { };
// client is misbehaving
class XBadClient : public XSynergy {
2002-04-29 14:40:01 +00:00
protected:
2001-10-06 14:13:28 +00:00
virtual CString getWhat() const throw();
};
// client has incompatible version
class XIncompatibleClient : public XSynergy {
2002-04-29 14:40:01 +00:00
public:
2001-10-06 14:13:28 +00:00
XIncompatibleClient(int major, int minor);
// manipulators
// accessors
int getMajor() const throw();
int getMinor() const throw();
2002-04-29 14:40:01 +00:00
protected:
2001-10-06 14:13:28 +00:00
virtual CString getWhat() const throw();
2002-04-29 14:40:01 +00:00
private:
2001-10-06 14:13:28 +00:00
int m_major;
int m_minor;
};
#endif