//
// $Id$
-
#ifndef __UTIL_HXX
#define __UTIL_HXX 1
-#ifndef __cplusplus
-# error This library requires C++
-#endif
-
+#include <string>
/**
* Move a value towards a target.
* (elapsed time/smoothing time)
* @return The new value.
*/
-extern double fgGetLowPass (double current, double target, double timeratio);
+double fgGetLowPass (double current, double target, double timeratio);
/**
* Validation listener interface for io.nas, used by fgcommands.
* @param write True for write operations and false for read operations.
* @return The validated path on success or 0 if access denied.
*/
-extern const char *fgValidatePath (const char *path, bool write);
+const char *fgValidatePath (const char *path, bool write);
+std::string fgValidatePath(const std::string& path, bool write);
#endif // __UTIL_HXX