Files
FsTrack/Source/HttpServer.hpp
T
jens f471a98b52 - added ViewFormat for parsing GE queries for Camera and stuff
- Camera now controlled with adjustable alt, tilt, auto roll based on aircraft banking and auto heading based on aircraft heading


git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@129 b431acfa-c32f-4a4a-93f1-934dc6c82436
2015-01-13 23:12:57 +00:00

27 lines
528 B
C++

#ifndef HTTPSERVER_HPP
#define HTTPSERVER_HPP
#include "../JuceLibraryCode/JuceHeader.h"
#include "ViewFormat.hpp"
#include "IHttp.hpp"
class HttpServer : public juce::Thread
{
public:
HttpServer(int port, const char *pDocDir);
~HttpServer(void);
void addListener(IHttpListener *pListener);
private:
int m_port;
const char *m_docDir;
ListenerList <IHttpListener> m_listeners;
ViewFormat m_viewFormat;
const char* getDocName(char *buffer, int buflen);
void run();
};
#endif // HTTPSERVER