home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Pier Shareware 6
/
The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso
/
035
/
kwclass.zip
/
KVALCURR.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-18
|
910b
|
43 lines
#ifndef _KVALCURR_
#define _KVALCURR_
#ifndef _KVALID_
#include <kvalid.hpp>
#endif
#ifndef _ISTRING_
#include <istring.hpp>
#endif
/*----------------------------------------------------------------------
* Class: KCurrencyValidator
*
* Implementation File: kvalid.cpp
*
* Base Class: Derived from KValidator
*
* Purpose: Allows the user to enter currency values in an entry field.
*
* Notes:
*--------------------------------------------------------------------*/
class _Export KCurrencyValidator : public KValidator
{
public:
KCurrencyValidator();
private:
struct Settings
{
Settings();
unsigned currencyFormat;
IString currencySign;
IString thousandsSeparator;
IString decimalSeparator;
unsigned decimalDigits;
};
static Settings settings;
};
#endif