home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / inc / theapvie.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  761 b   |  38 lines

  1. #ifndef __THEAPVIEW_H
  2. //    Avoid include redundancy
  3. #define __THEAPVIEW_H
  4.  
  5. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  6. //
  7. //    Include File:    THeapVie.H
  8. //    Purpose:    Header file for THeapView class.
  9. //    Remarks/Portability/Dependencies/Restrictions:
  10. //    Revision History:
  11. //        12-13-93    created
  12.  
  13. //    Constant defines
  14. #define Uses_TView
  15. #define Uses_TRect
  16.  
  17. //    Required includes
  18. #include<tv.h>
  19.  
  20. //    Class declarations
  21. class THeapView : public TView    {
  22. public:
  23.     THeapView(TRect& TR_dimensions);
  24.     virtual void update();
  25.     virtual void draw();
  26.     virtual long GetHeapSize();
  27. private:
  28.     long PastMem, PresMem;
  29.     char HeapInAscii[16];
  30.     Boolean B_tolduser;
  31. };
  32.  
  33. //    Global variable declarations
  34.  
  35. //    Macros
  36.  
  37. #endif // __THEAPVIEW_H
  38.