home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ssvpar.zip / SSDBCS.HPP < prev    next >
Text File  |  1994-07-31  |  818b  |  32 lines

  1. /*---------------------------------------------------------------------------
  2.  
  3.                Copyright (c) 1994 SandStone Software Inc.
  4.                           All rights reserved
  5.  
  6. ----------------------------------------------------------------------------*/
  7. #if !defined( SSDBCS)
  8. #  define SSDBCS
  9. #  include<ctype.h>
  10. #  include<string.h>
  11. #  include<ssglobal.h>
  12.  
  13. #  define SSDbcsEnvLen 12
  14.  
  15.    class SSDbcsInfo
  16.       {
  17.       public:
  18.          SSConstr       SSDbcsInfo( void);
  19.          SSBooleanValue isLeadByte( char);
  20.          SSUnsigned32   asUnsigned32( const char*);
  21.          void           set( SSUnsigned32 = 0, SSUnsigned32 = 0);
  22.  
  23.       private:
  24.          char           oachDbcs[ SSDbcsEnvLen];
  25.       };
  26.  
  27.    SSDbcsInfo& locateDbcsInfo( void);
  28.  
  29. #  include<ssdbcs.inl>
  30.  
  31. #endif
  32.