FlightGear next
FlightHistoryUriHandler.cxx File Reference
#include "FlightHistoryUriHandler.hxx"
#include "SimpleDOM.hxx"
#include <cJSON.h>
#include <Aircraft/FlightHistory.hxx>
#include <Main/fg_props.hxx>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 
namespace  flightgear::http
 

Functions

static string flightgear::http::FlightHistoryToJson (const SGGeodVec &history, size_t last_seen)
 
static string flightgear::http::AutoUpdateResponse (const HTTPRequest &request, const string &base, const string &interval)
 
static string flightgear::http::FlightHistoryToKml (const SGGeodVec &history, const HTTPRequest &request)
 
static bool flightgear::http::GetJsonDouble (cJSON *json, const char *item, double &out)
 
static bool flightgear::http::GetJsonBool (cJSON *json, const char *item, bool &out)
 

Variables

static const char * flightgear::http::errorPage