home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / tdiskvi3.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  677 b   |  24 lines

  1. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TDiskView
  4. //    Include File:    tdiskvie.h
  5. //    Purpose:    Display the total amound of free disk space.
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        02-18-94    created
  9. #include"tdiskvie.h"
  10.  
  11. void TDiskView::update()    {
  12. //    Purpose:    Update the present and past amounts of free space.
  13. //    Arguments:    void
  14. //    Return Value:    void
  15. //    Remarks/Portability/Dependencies/Restrictions:
  16. //        If the size has changed, the view will be redrawn.
  17. //    Revision History:
  18. //        02-18-94    created
  19.  
  20.     if((uli_pres = GetDiskFree()) != uli_past)    {
  21.         uli_past = uli_pres;
  22.         drawView();
  23.     }
  24. }