]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCdisplay.hxx
Modified Files:
[flightgear.git] / src / ATC / ATCdisplay.hxx
index 7b3ade925bce34ac4fc1f3eae6006f29505dac9b..cc3818de9583a998b62d27c36bfa22b0c6b68046 100644 (file)
@@ -18,7 +18,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef _FG_ATC_DISPLAY_HXX
 #define _FG_ATC_DISPLAY_HXX
@@ -76,16 +76,16 @@ public:
 
     // Register a single message for display after a delay of delay seconds
     // Will automatically stop displaying after a suitable interval.
-    void RegisterSingleMessage(string msg, double delay = 0.0);        // OK - I know passing a string in and out is probably not good but it will have to do for now.
+    void RegisterSingleMessage(const string& msg, double delay = 0.0);
 
     // For now we will assume only one repeating message at once
     // This is not really robust
 
     // Register a continuously repeating message
-    void RegisterRepeatingMessage(string msg);
+    void RegisterRepeatingMessage(const string& msg);
 
     // Change a repeating message - assume that the message changes after the string has finished for now
-    void ChangeRepeatingMessage(string newmsg); 
+    void ChangeRepeatingMessage(const string& newmsg); 
 
     // Cancel the current repeating message
     void CancelRepeatingMessage();