You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2008/12/15 22:55:34 UTC

svn commit: r726821 - in /activemq/activemq-cpp/trunk/src/main/decaf/net: URL.cpp URL.h

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() {}
 
     };