]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atcutils.hxx
Added some stubs in the flightgear main code to eventually add a full, FGSubsystems...
[flightgear.git] / src / ATC / atcutils.hxx
index e26d204b04480443dc2901a61848da84a27e46db..d2d2366a0271aa08d57ba2dbb6199a4adbaaec93 100644 (file)
@@ -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;