Files at this revision

API Documentation at this revision

Comitter:
FrankWeissenborn
Date:
Wed Feb 02 20:08:24 2011 +0000
Parent:
5:36d14584e42f
Commit message:

Changed in this revision

ShoutcastConnector.cpp Show annotated file Show diff for this revision Revisions of this file
ShoutcastConnector.h Show annotated file Show diff for this revision Revisions of this file
--- a/ShoutcastConnector.cpp	Sat Jan 29 21:15:17 2011 +0000
+++ b/ShoutcastConnector.cpp	Wed Feb 02 20:08:24 2011 +0000
@@ -26,7 +26,7 @@
 
 }
 
-int ShoutcastConnector::Connect(IpAddr address, int port, char * path) {
+int ShoutcastConnector::Connect(IpAddr address, int port, const char * path) {
 
     if ((ReadState!=GET_RESPONSE)||(WriteState!=PUT_HEADER)) {
         Disconnect();
--- a/ShoutcastConnector.h	Sat Jan 29 21:15:17 2011 +0000
+++ b/ShoutcastConnector.h	Wed Feb 02 20:08:24 2011 +0000
@@ -11,7 +11,7 @@
 {
 public:
     ShoutcastConnector(VS1053* mp3,myCallBack_pfn, char *buffer, int buffer_size);
-    int Connect(IpAddr address, int port, char * path);
+    int Connect(IpAddr address, int port, const char * path);
     int Disconnect();
 private:
     VS1053*                          _mp3;
@@ -19,7 +19,7 @@
     TCPSocket                        _sock;
     char*                            _buffer;
     int                              _buffer_size;
-    char *                           _path;
+    const char *                           _path;
 
     void Writeable();
     void Readable();