// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
-// $Id$
-
#include <stdlib.h>
#include <cstring>
return true;
}
+
+FGBeacon * FGBeacon::_instance = NULL;\r
+\r
+FGBeacon * FGBeacon::instance()\r
+{\r
+ if( _instance == NULL ) {\r
+ _instance = new FGBeacon();\r
+ _instance->init();\r
+ }\r
+ return _instance;\r
+}\r