30 lines
936 B
C++
30 lines
936 B
C++
#ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAKERWYSXP_H
|
|
#define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAKERWYSXP_H
|
|
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include "gate.hpp"
|
|
#include "runway.hpp"
|
|
#include "stringExtensions.hpp"
|
|
#include "util.hpp"
|
|
|
|
int scan(const char *defaultFile,
|
|
const char *sceneryPack,
|
|
const char *logFile,
|
|
std::map<std::string,
|
|
std::pair<std::vector<Gate>, std::vector<Runway>>> &airports);
|
|
|
|
void makeAirport(
|
|
const std::string &kind,
|
|
std::ifstream *infile,
|
|
std::map<std::string, std::pair<std::vector<Gate>, std::vector<Runway>>>
|
|
*airports,
|
|
std::ofstream *logfile);
|
|
void makeGate15(std::vector<Gate> *gates, std::vector<std::string> fields);
|
|
void makeRunway(std::vector<Runway> *runways, std::vector<std::string> fields);
|
|
void makeGate1300(std::vector<Gate> *gates, std::vector<std::string> fields);
|
|
|
|
#endif |