Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25650/data
Modified Files:
epp_ContactInfoReq.h
Log Message:
Can now send authInfo with the <contact:info> request.
Index: epp_ContactInfoReq.h
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactInfoReq.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** epp_ContactInfoReq.h 17 Jul 2002 13:18:47 -0000 1.11
--- epp_ContactInfoReq.h 11 Oct 2005 11:32:51 -0000 1.12
***************
*** 36,39 ****
--- 36,40 ----
#include "epp_contactdata.h"
#include "epp_GenericReq.h"
+ #include "epp_AuthInfo.h"
namespace eppobject { namespace contact {
***************
*** 45,48 ****
--- 46,50 ----
public:
eppobject::epp::epp_string_ref m_id; /**< Server-unique ID of the contact object to be queried */
+ eppobject::epp::epp_AuthInfo_ref m_auth_info; /**< Optional auto info to test the value at the server */
/// Null constructor
***************
*** 55,70 ****
/// @note Cannot set simple types to NULL
epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd,
! const eppobject::epp::epp_string & _m_id)
: epp::epp_GenericReq(_m_cmd)
{
m_id.ref(new eppobject::epp::epp_string(_m_id));
};
/// Constructor, using only references
epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd,
! const eppobject::epp::epp_string_ref & _m_id)
: epp::epp_GenericReq(_m_cmd)
{
m_id = _m_id;
};
};
--- 57,76 ----
/// @note Cannot set simple types to NULL
epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd,
! const eppobject::epp::epp_string & _m_id,
! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info = NULL)
: epp::epp_GenericReq(_m_cmd)
{
m_id.ref(new eppobject::epp::epp_string(_m_id));
+ m_auth_info = _m_auth_info;
};
/// Constructor, using only references
epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd,
! const eppobject::epp::epp_string_ref & _m_id,
! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info = NULL)
: epp::epp_GenericReq(_m_cmd)
{
m_id = _m_id;
+ m_auth_info = _m_auth_info;
};
};
|