00001
00023 #ifndef INC_RVC_CREDENTIALS_H
00024 #define INC_RVC_CREDENTIALS_H
00025
00026 #ifndef INC_MI32_STDDEFNS_H
00027 #include <mi32/stddefns.h>
00028 #endif
00029
00030 #ifdef RVCSYSDLL
00031 #define RVCSYSLIBEXPORT MI_DLLEXPORT
00032 #define RVCSYSLIBCLASSEXPORT MI_DLLCLASSEXPORT
00033 #else
00034 #define RVCSYSLIBEXPORT MI_DLLIMPORT
00035 #define RVCSYSLIBCLASSEXPORT MI_DLLCLASSIMPORT
00036 #endif
00037
00038 #ifndef GENERATING_DOXYGEN_OUTPUT
00039 class MISTRING;
00040 namespace RVC {
00041 class OPENFILE;
00042 }
00043 #endif // GENERATING_DOXYGEN_OUTPUT
00044
00045 namespace RVC {
00046
00047 class RVCSYSLIBCLASSEXPORT CREDENTIALS {
00048 public:
00050 CREDENTIALS (
00051 );
00052
00054 CREDENTIALS (
00055 const MISTRING& UserName,
00056 MISTRING& Password
00057 );
00058
00060 CREDENTIALS (
00061 const CREDENTIALS& rhs
00062 );
00063
00065 ~CREDENTIALS (
00066 );
00067
00069 CREDENTIALS& operator= (
00070 const CREDENTIALS& rhs
00071 );
00072
00074 bool operator== (
00075 const CREDENTIALS& rhs
00076 ) const;
00077
00079 bool operator!= (
00080 const CREDENTIALS& rhs
00081 ) const { return (!(*this == rhs)); }
00082
00084 void SetCredentials (
00085 const MISTRING& UserName,
00086 MISTRING& Password
00087 );
00088
00089 private:
00090
00091 #ifndef GENERATING_DOXYGEN_OUTPUT
00092 class PRIV;
00093 PRIV* m_Priv;
00094 friend class OPENFILE;
00095 #endif
00096 };
00097
00098 }
00099
00100 #undef RVCSYSLIBEXPORT
00101 #undef RVCSYSLIBCLASSEXPORT
00102
00103 #endif // INC_RVC_CREDENTIALS_H