home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiniExamples / AppKit / Winfo / WinApp.m < prev    next >
Encoding:
Text File  |  1991-04-22  |  461 b   |  24 lines

  1. /*
  2.  * Winfo
  3.  * by Paul S. Kleppner
  4.  *
  5.  * This program may be freely distributed, but not sold.
  6.  * It is provided without warranty of any kind, expressed or
  7.  * implied, as to its fitness for any particular use.
  8.  */
  9.  
  10. /*
  11.  * WinApp.  We subclass the application object, to add a method
  12.  * to return the context number (normally a hidden part
  13.  * of the interface).
  14.  */
  15.  
  16. #import "WinApp.h"
  17.  
  18. @implementation WinApp
  19. - (int) contextNumber 
  20. {
  21.   return contextNum;
  22. }
  23. @end
  24.