Fork of HttpServer_snapshot_mbed-os library

Fork of HttpServer_snapshot_mbed-os by Renesas

Revision:
11:0700755d64ae
Parent:
8:a9fb8fe9b8a3
--- a/Handler/FSHandler.h	Tue Apr 19 02:21:29 2016 +0000
+++ b/Handler/FSHandler.h	Fri Oct 28 06:15:29 2016 +0000
@@ -23,7 +23,6 @@
 
 #include "../HTTPRequestHandler.h"
 #include "mbed.h"
-#include "EthernetInterface.h"
 #include <map>
 using std::map;
 
@@ -33,13 +32,13 @@
 class FSHandler : public HTTPRequestHandler
 {
 public:
-  FSHandler(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection);
+  FSHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocket);
   virtual ~FSHandler();
   
   static void mount(const string& fsPath, const string& rootPath);
 
 //protected:
- static inline HTTPRequestHandler* inst(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection) { return new FSHandler(rootPath, path, pTCPSocketConnection); } //if we ever could do static virtual functions, this would be one
+ static inline HTTPRequestHandler* inst(const char* rootPath, const char* path, TCPSocket* pTCPSocket) { return new FSHandler(rootPath, path, pTCPSocket); } //if we ever could do static virtual functions, this would be one
 
   virtual void doGet();
   virtual void doPost();
@@ -57,3 +56,4 @@
 };
 
 #endif
+