activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r726821 - in /activemq/activemq-cpp/trunk/src/main/decaf/net: URL.cpp URL.h
Date Mon, 15 Dec 2008 21:55:34 GMT
Author: tabish
Date: Mon Dec 15 13:55:34 2008
New Revision: 726821

URL: http://svn.apache.org/viewvc?rev=726821&view=rev
Log:
Add a string constructor for use by the URI class's toURI method.

Modified:
    activemq/activemq-cpp/trunk/src/main/decaf/net/URL.cpp
    activemq/activemq-cpp/trunk/src/main/decaf/net/URL.h

Modified: activemq/activemq-cpp/trunk/src/main/decaf/net/URL.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/net/URL.cpp?rev=726821&r1=726820&r2=726821&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/net/URL.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/net/URL.cpp Mon Dec 15 13:55:34 2008
@@ -17,9 +17,14 @@
 
 #include "URL.h"
 
+using namespace std;
 using namespace decaf;
 using namespace decaf::net;
 
 ////////////////////////////////////////////////////////////////////////////////
 URL::URL() {
 }
+
+////////////////////////////////////////////////////////////////////////////////
+URL::URL( const std::string& url ) {
+}

Modified: activemq/activemq-cpp/trunk/src/main/decaf/net/URL.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/net/URL.h?rev=726821&r1=726820&r2=726821&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/net/URL.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/net/URL.h Mon Dec 15 13:55:34 2008
@@ -19,6 +19,7 @@
 #define _DECAF_NET_URL_H_
 
 #include <decaf/util/Config.h>
+#include <string>
 
 namespace decaf{
 namespace net{
@@ -106,6 +107,7 @@
     public:
 
         URL();
+        URL( const std::string& url );
         virtual ~URL() {}
 
     };



Mime
View raw message