- added Kml export
- added HttpServer git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@124 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef HTTPSERVER
|
||||
#define HTTPSERVER
|
||||
|
||||
#include "../JuceLibraryCode/JuceHeader.h"
|
||||
#include "IHttp.hpp"
|
||||
|
||||
class HttpServer : public juce::Thread
|
||||
{
|
||||
public:
|
||||
HttpServer(const char *pDocDir);
|
||||
~HttpServer(void);
|
||||
void addListener(IHttpListener *pListener);
|
||||
|
||||
private:
|
||||
const char *m_docDir;
|
||||
ListenerList <IHttpListener> m_listeners;
|
||||
|
||||
const char* getDocName(char *buffer, int buflen);
|
||||
void run();
|
||||
|
||||
};
|
||||
|
||||
#endif // HTTPSERVER
|
||||
Reference in New Issue
Block a user