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

  1. /*
  2. ** ObjectiveAmiga: Interface to class TRApplication
  3. ** See GNU:lib/libobjam/ReadMe for details
  4. */
  5.  
  6.  
  7. #import <objc/Object.h>
  8. #import <objam/Application.h>
  9. #import <objam/FlatList.h>
  10. #import <objam/objam.h>
  11. #import <objtriton/TRWindow.h>
  12.  
  13. #include <libraries/triton.h>
  14.  
  15.  
  16. @interface TRApplication: Object <ExecSignalProcessing>
  17. {
  18.   FlatList *windowList;
  19.   unsigned int modalLevel;
  20. }
  21.  
  22. // Create and delete instances
  23.  
  24. - initTriton:(unsigned int)trVer;
  25. - init;
  26.  
  27. - free;
  28.  
  29. // Run the application
  30.  
  31. - runFromAppKit;
  32. - quit;
  33.  
  34. // Add and remove windows
  35.  
  36. - add:window;
  37. - addModal:window;
  38. - remove:window;
  39.  
  40. // Provide information to the windows
  41.  
  42. - (unsigned int)modalLevel;
  43.  
  44. // Lock and unlock windows
  45.  
  46. - lockWindows;
  47. - unlockWindows;
  48.  
  49. @end
  50.  
  51.  
  52. extern TRApplication *TRApp;
  53.