X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatcutils.hxx;h=d2d2366a0271aa08d57ba2dbb6199a4adbaaec93;hb=7c73c7d3e58f60743f4b91d678b16d8e313a46de;hp=e26d204b04480443dc2901a61848da84a27e46db;hpb=fb361f74633dd861206755a4b791d1a9fa93fa40;p=flightgear.git diff --git a/src/ATC/atcutils.hxx b/src/ATC/atcutils.hxx index e26d204b0..d2d2366a0 100644 --- a/src/ATC/atcutils.hxx +++ b/src/ATC/atcutils.hxx @@ -52,7 +52,8 @@ #if !ENABLE_ATCDCL class SGPath; -class ATCData; + + // Possible types of ATC type that the radios may be tuned to. // INVALID implies not tuned in to anything. @@ -67,6 +68,18 @@ enum atc_type { INVALID /* must be last element; see ATC_NUM_TYPES */ }; +struct ATCData { + ATCData() : type(INVALID), cart(0, 0, 0), freq(0), range(0) {} + atc_type type; + SGGeod geod; + SGVec3d cart; + unsigned short int freq; + unsigned short int range; + std::string ident; + std::string name; +}; + + // A list of ATC stations typedef std::list < ATCData > comm_list_type;