hiep sua file
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
// Static data
|
||||
const char XmlRpcClient::REQUEST_BEGIN[] =
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#endif // _WINDOWS
|
||||
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
|
||||
XmlRpcDispatch::XmlRpcDispatch()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "xmlrpcpp/XmlRpcException.h"
|
||||
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
|
||||
XmlRpcServer::XmlRpcServer()
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
// Static data
|
||||
const char XmlRpcServerConnection::METHODNAME_TAG[] = "<methodName>";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "xmlrpcpp/XmlRpcServer.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -19,3 +20,4 @@ namespace XmlRpc {
|
||||
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
@@ -30,7 +30,7 @@ extern "C" {
|
||||
#endif // MAKEDEPEND
|
||||
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -33,3 +34,4 @@ namespace XmlRpc {
|
||||
}
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "xmlrpcpp/XmlRpc.h"
|
||||
|
||||
using namespace XmlRpc;
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
|
||||
//#define USE_WINDOWS_DEBUG // To make the error and log messages go to VC++ debug output
|
||||
@@ -21,7 +21,7 @@ using namespace XmlRpc;
|
||||
#endif
|
||||
|
||||
// Version id
|
||||
const char XmlRpc::XMLRPC_VERSION[] = "XMLRPC++ 0.7";
|
||||
const char robot::XmlRpc::XMLRPC_VERSION[] = "XMLRPC++ 0.7";
|
||||
|
||||
// Default log verbosity: 0 for no messages through 5 (writes everything)
|
||||
int XmlRpcLogHandler::_verbosity = 0;
|
||||
@@ -63,8 +63,8 @@ XmlRpcErrorHandler* XmlRpcErrorHandler::_errorHandler = &defaultErrorHandler;
|
||||
|
||||
|
||||
// Easy API for log verbosity
|
||||
int XmlRpc::getVerbosity() { return XmlRpcLogHandler::getVerbosity(); }
|
||||
void XmlRpc::setVerbosity(int level) { XmlRpcLogHandler::setVerbosity(level); }
|
||||
int robot::XmlRpc::getVerbosity() { return XmlRpcLogHandler::getVerbosity(); }
|
||||
void robot::XmlRpc::setVerbosity(int level) { XmlRpcLogHandler::setVerbosity(level); }
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
# include <stdio.h>
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -598,10 +599,11 @@ namespace XmlRpc {
|
||||
}
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
|
||||
// ostream
|
||||
std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v)
|
||||
std::ostream& operator<<(std::ostream& os, robot::XmlRpc::XmlRpcValue& v)
|
||||
{
|
||||
// If you want to output in xml format:
|
||||
//return os << v.toXml();
|
||||
|
||||
Reference in New Issue
Block a user