home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / CAE-GROUP / SCL-WIN3x / SCLTEST.EXE / NEEDFUNC.CC next >
C/C++ Source or Header  |  1994-12-13  |  918b  |  21 lines

  1. #include <needFunc.h>
  2.  
  3. ///////////////////////////////////////////////////////////////////////////////
  4. // Function defined as a stub (necessary to use the scl)
  5. // The purpose of this function is to allow the DisplayNode object to delete 
  6. // an object that it knows nothing about.  It was made generic so that the scl
  7. // could be used with any display toolkit.
  8. //
  9. // This function is called by the DisplayNode object
  10. // This function needs to be defined outside the SCL libraries.  It needs to do
  11. // two things:
  12. // 1) unmap the StepEntityEditor window if it is mapped.
  13. // 2) delete the StepEntityEditor window
  14. // To see an example of this function used with the Data Probe look in
  15. // ../clprobe-ui/StepEntEditor.cc  Look at DeleteSEE() and ~StepEntityEditor().
  16. ///////////////////////////////////////////////////////////////////////////////
  17. void DeleteSEE(StepEntityEditor *se)  
  18. {
  19.     delete se;
  20. }
  21.