// Version 1.0.0
//
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
// Alternatively, you may redistribute this library, use and/or modify it under the terms of the
// GNU Lesser General Public License as published by the Free Software Foundation;
// either version 2.1 of the License, or (at your option) any later version.
// You may obtain a copy of the LGPL at http://www.gnu.org/copyleft/.
//
// Software distributed under the License is distributed on an "AS IS" basis,
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
// specific language governing rights and limitations under the License.
//
// The original code is terrainController.js, released June 3, 2007.
//
// The initial developer of the original code is Luca Rocchi (Rome, Italy, www.googleearthairlines.com),
// (lr1313@gmail.com,luca.rocchi@tin.it).

// a SpeechController for GoogleEarthAirlines plugin

//-----------------------------------------
function SpeechController() {
   this.active=true;
}
SpeechController.prototype.Off=function(){
   this.active=false;
   plug.setValue("speech",0);
}
SpeechController.prototype.On=function(){
   this.active=true;
   plug.setValue("speech",1);
}
//test
var SpeechController=new SpeechController();
