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

  1. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TURLView
  4. //    Include File:    turlview.h
  5. //    Purpose:    Provide a view for a URL.
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        03-30-94    created
  9. #include"turlview.h"
  10.  
  11. void TURLView::DoNotDisplay()    {
  12. //    Purpose:    Function will automatically set up the view to
  13. //            not be valid such that the owning window will not
  14. //            attempt to display it.  In such cases, the url is
  15. //            simply not displayable and is probably being saved
  16. //            to disk.
  17. //    Arguments:    void
  18. //    Return Value:    void
  19. //    Remarks/Portability/Dependencies/Restrictions:
  20. //        This function will have to be called at some time during
  21. //        the TURLView constructor is in the calling stack, otherwise
  22. //        the owner will attempt to display the view anyway.
  23. //    Revision History:
  24. //        03-30-94    created
  25.  
  26.     //    Just set the valid member to false.
  27.     B_valid = False;
  28.  
  29.     //    Also, this function is only called when a file download is
  30.     //    requested.  Mark this.
  31.     B_download = True;
  32. }