home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / INTERNET / WWW / LYNX / SOURCE / SRC0_8A.ZIP / DOSLYNX / SRC / TDOSLYN6.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-09  |  973 b   |  39 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TDosLynx : public TApplication
  4. //    Include File:    TDosLynx.h
  5. //    Purpose:    Implement our application object.
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-09-93    created
  9. //        02-09-94    Split all members into seperate files to
  10. //                enhance overlay support.
  11. #include"tdoslynx.h"
  12.  
  13. void TDosLynx::idle()    {
  14. //    Purpose:    Accomplish idle time processing when no input
  15. //    Arguments:    void
  16. //    Return Value:   void
  17. //    Remarks/Portability/Dependencies/Restrictions:
  18. //    Revision History:
  19. //        12-13-93    created
  20. //        08-09-94    Modified not to depend on presence of views.
  21.  
  22.     //    Call base object idle
  23.     TProgram::idle();
  24.  
  25.     //    Update our evolving views
  26.     if(TSV_sock != NULL)    {
  27.         TSV_sock->update();
  28.     }
  29.     if(TCV_clock != NULL)    {
  30.         TCV_clock->update();
  31.     }
  32.     if(THV_heap != NULL)    {
  33.         THV_heap->update();
  34.     }
  35.     if(TDV_disk != NULL)    {
  36.         TDV_disk->update();
  37.     }
  38. }
  39.