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.CPP < prev    next >
C/C++ Source or Header  |  1994-04-18  |  1KB  |  32 lines

  1. #include <kvalcurr.hpp>
  2. #include <ikeyevt.hpp>
  3. #include <kentryfd.hpp>
  4. #include <istring.hpp>
  5. #include <istrtest.hpp>
  6. #include <ctype.h>
  7. #include <iexcept.hpp>
  8. #include <iprofile.hpp>
  9.  
  10. KCurrencyValidator::Settings KCurrencyValidator::settings;
  11.  
  12. KCurrencyValidator::KCurrencyValidator()
  13.   : KValidator(false)
  14. {
  15. }
  16.  
  17. KCurrencyValidator::Settings::Settings()
  18. {
  19. #if 0
  20.    currencyFormat = IProfile::userProfile().elementWithKey("iCurrency", 
  21.                                                            "PM_National").asUnsigned();
  22.    currencySign = IProfile::userProfile().elementWithKey("sCurrency", 
  23.                                                          "PM_National");
  24.    thousandsSeparator = IProfile::userProfile().elementWithKey("sThousand", 
  25.                                                                "PM_National");
  26.    decimalSeparator = IProfile::userProfile().elementWithKey("sDecimal", 
  27.                                                              "PM_National");
  28.    decimalDigits = IProfile::userProfile().elementWithKey("iDigits"
  29.                                                           "PM_National").asUnsigned();
  30. #endif
  31. }
  32.