]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.hxx
Alex Romosan:
[flightgear.git] / src / ATC / atis.hxx
index d74c6ef19f84c2fde40e31cfd604aa0a9d29726e..4cd303ada3880af71960a930b2ddec752e15a8ac 100644 (file)
@@ -53,8 +53,6 @@ SG_USING_STD(string);
 class FGATIS : public FGATC {
        
        //atc_type type;
-       bool display;           // Flag to indicate whether we should be outputting to the ATC display.
-       bool displaying;                // Flag to indicate whether we are outputting to the ATC display.
        string transmission;    // The actual ATIS transmission
        // This is not stored in default.atis but is generated
        // from the prevailing conditions when required.
@@ -78,18 +76,11 @@ class FGATIS : public FGATC {
        ~FGATIS(void);
        
        //run the ATIS instance
-       void Update(void);
+       void Update(double dt);
        
-       //Indicate that this instance should be outputting to the ATC display
-       inline void SetDisplay(void) {display = true;}
-       
-       //Indicate that this instance should not be outputting to the ATC display
-       inline void SetNoDisplay(void) {display = false;}
-       
-       inline atc_type GetType() { return ATIS; }
        //inline void set_type(const atc_type tp) {type = tp;}
-       inline string get_trans_ident() { return trans_ident; }
-       inline void set_refname(string r) { refname = r; } 
+       inline const string& get_trans_ident() { return trans_ident; }
+       inline void set_refname(const string& r) { refname = r; } 
        
        private: