*
* \author Allan Rae
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#include "lyx_forms.h"
-#include "support/lstrings.h"
#include "input_validators.h"
-using namespace lyx::support;
+#include "support/lstrings.h"
+
+#include "lyx_forms.h"
+
+namespace support = lyx::support;
+
#if defined(__cplusplus)
extern "C"
{
if (c == 0 /* final test before handing contents to app */
|| strchr("0123456789+-", c)) {
- if (isStrInt(fl_get_input(ob)))
+ if (support::isStrInt(fl_get_input(ob)))
return FL_VALID;
}
return FL_INVALID|FL_RINGBELL;
{
if (c == 0 /* final test before handing contents to app */
|| strchr("0123456789.+-", c)) {
- if (isStrDbl(fl_get_input(ob)))
+ if (support::isStrDbl(fl_get_input(ob)))
return FL_VALID;
}
return FL_INVALID|FL_RINGBELL;
{
if (c == 0 /* final test before handing contents to app */
|| strchr("0123456789.", c)) {
- if (isStrDbl(fl_get_input(ob)))
+ if (support::isStrDbl(fl_get_input(ob)))
return FL_VALID;
}
return FL_INVALID|FL_RINGBELL;