home *** CD-ROM | disk | FTP | other *** search
/ Dream 41 / Amiga_Dream_41.iso / Amiga / Programmation / c / gcc / objam02.lha / objam / objtriton / TRWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-16  |  655 b   |  46 lines

  1. /*
  2. ** ObjectiveAmiga: Interface to class TRWindow
  3. ** See GNU:lib/libobjam/ReadMe for details
  4. */
  5.  
  6.  
  7. #import <objtriton/TRApplication.h>
  8.  
  9. #include <libraries/triton.h>
  10. #include <inline/triton.h>
  11.  
  12.  
  13. @interface TRWindow: Object
  14. {
  15.   struct TR_Project *project;
  16.   unsigned int modalLevel;
  17. }
  18.  
  19. // Initialize and delete instances
  20.  
  21. - open:(ULONG)tags,...;
  22. - openModal:(ULONG)tags,...;
  23. - close;
  24. - free;
  25.  
  26. // Provide information to TRApp
  27.  
  28. - (struct TR_Project *)project;
  29. - (unsigned int)modalLevel;
  30.  
  31. // Process Triton messages
  32.  
  33. - tritonMessage:(struct TR_Message *)trMsg;
  34.  
  35. // Lock and unlock window
  36.  
  37. - lock;
  38. - unlock;
  39.  
  40. // Reactivate window
  41.  
  42. - activate;
  43. - toFront;
  44.  
  45. @end
  46.