home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CDictionary 1.0 / CStaticInteger.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  773 b   |  26 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2. CStaticInteger.h
  3.  
  4.     Subclass of CStaticString, provides additional method to set
  5.     a string to its integer equivalent.
  6.     
  7.     by Dan Podwall - you may do anything you please with this code except
  8.     charge for it, with the exception of normal network download charges.
  9.     
  10. ******************************************************************************/
  11.  
  12.  
  13. #define _H_CStaticInteger
  14.  
  15. #include "CStaticString.h"
  16.  
  17.  
  18. struct CStaticInteger : CStaticString
  19. {
  20.     virtual void IStaticInteger(CView *anEnclosure, CBureaucrat *aSupervisor,
  21.                     Int16 aWidth, Int16 aHeight, Int16 aHEncl, Int16 aVEncl,
  22.                     SizingOption aHSizing, SizingOption aVSizing, Int32 initValue);
  23.  
  24.     virtual void SetIntValue( Int32    aValue);
  25.  
  26. };