00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef XSYNERGY_H
00016 #define XSYNERGY_H
00017
00018 #include "XBase.h"
00019
00021 XBASE_SUBCLASS(XSynergy, XBase);
00022
00024
00027 XBASE_SUBCLASS_WHAT(XBadClient, XSynergy);
00028
00030
00033 class XIncompatibleClient : public XSynergy {
00034 public:
00035 XIncompatibleClient(int major, int minor);
00036
00038
00039
00041 int getMajor() const throw();
00043 int getMinor() const throw();
00044
00046
00047 protected:
00048 virtual CString getWhat() const throw();
00049
00050 private:
00051 int m_major;
00052 int m_minor;
00053 };
00054
00056
00060 class XDuplicateClient : public XSynergy {
00061 public:
00062 XDuplicateClient(const CString& name);
00063
00065
00066
00068 virtual const CString&
00069 getName() const throw();
00070
00072
00073 protected:
00074 virtual CString getWhat() const throw();
00075
00076 private:
00077 CString m_name;
00078 };
00079
00081
00085 class XUnknownClient : public XSynergy {
00086 public:
00087 XUnknownClient(const CString& name);
00088
00090
00091
00093 virtual const CString&
00094 getName() const throw();
00095
00097
00098 protected:
00099 virtual CString getWhat() const throw();
00100
00101 private:
00102 CString m_name;
00103 };
00104
00105 #endif