From 774e09eef2d7761814e6f19fb462eb0fdc74f2d7 Mon Sep 17 00:00:00 2001 From: geronimo Date: Wed, 25 Jul 2012 06:38:28 +0200 Subject: worked out different file class and improved media handling --- libs/networking/include/Url.h | 4 ++-- libs/networking/networking.layout | 16 ++++++++-------- libs/networking/networking.layout.save | 20 ++++++++++---------- libs/networking/src/Url.cc | 4 ++-- 4 files changed, 22 insertions(+), 22 deletions(-) (limited to 'libs/networking') diff --git a/libs/networking/include/Url.h b/libs/networking/include/Url.h index 970ba62..f4dc1af 100644 --- a/libs/networking/include/Url.h +++ b/libs/networking/include/Url.h @@ -51,11 +51,11 @@ public: void Dump(void); #endif static void Cleanup(void); + static cURLEncoder *Encoder(void); + static cURLDecoder *Decoder(void); protected: void ParseQueryString(const char *QueryString); - cURLEncoder *Encoder(void) const; - cURLDecoder *Decoder(void) const; private: typedef std::tr1::unordered_map ParameterMap; diff --git a/libs/networking/networking.layout b/libs/networking/networking.layout index fc9bc45..22e0cbb 100644 --- a/libs/networking/networking.layout +++ b/libs/networking/networking.layout @@ -1,9 +1,9 @@ - + - + @@ -11,17 +11,17 @@ - + - + - + - + @@ -31,12 +31,12 @@ - + - + diff --git a/libs/networking/networking.layout.save b/libs/networking/networking.layout.save index fc9bc45..c050ff0 100644 --- a/libs/networking/networking.layout.save +++ b/libs/networking/networking.layout.save @@ -1,44 +1,44 @@ - + - + - + - + - + - + - + - + - + - + diff --git a/libs/networking/src/Url.cc b/libs/networking/src/Url.cc index b0237d5..ce951e6 100644 --- a/libs/networking/src/Url.cc +++ b/libs/networking/src/Url.cc @@ -46,13 +46,13 @@ cUrl::~cUrl() FREE(path); } -cURLDecoder* cUrl::Decoder(void) const +cURLDecoder* cUrl::Decoder(void) { if (!decoder) decoder = new cURLDecoder(); return decoder; } -cURLEncoder* cUrl::Encoder(void) const +cURLEncoder* cUrl::Encoder(void) { if (!encoder) encoder = new cURLEncoder(); return encoder; -- cgit v1.2.3