mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 00:11:49 +00:00
893fe4da80
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1267 a592a061-630c-0410-9148-cb99ea01b6c8
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* This file Copyright 1999-2000
|
|
* Allan Rae
|
|
* ====================================================== */
|
|
|
|
/** Input validators and filters for xforms.
|
|
* A collection of input filtering and validating functions for use in
|
|
* XForms popups. Mainly meant for filtering input boxes although may
|
|
* be extended to include other generally useful xforms-specific tools.
|
|
*/
|
|
|
|
#ifndef INPUT_VALIDATORS_H
|
|
#define INPUT_VALIDATORS_H
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/** Only allow whole numbers no '+' or '-' signs or exponents. */
|
|
int fl_unsigned_int_filter(FL_OBJECT *, char const *, char const *, int);
|
|
/** Only allow whole numbers no '+' or '-' signs or exponents. */
|
|
int fl_unsigned_float_filter(FL_OBJECT *, char const *, char const *, int);
|
|
|
|
/** Only allow lowercase letters. */
|
|
int fl_lowercase_filter(FL_OBJECT *, char const *, char const *, int);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|