home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / utilities / installer / gui api / example / igui_request.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-27  |  1.0 KB  |  56 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  */
  10.  
  11. /********************************************************************
  12.  *
  13.  *  STATIC
  14.  *
  15.  */
  16.  
  17. /********************************************************************
  18.  *
  19.  *  EXTERN
  20.  *
  21.  */
  22.  
  23. /********************************************************************
  24.  *
  25.  *  PUBLIC
  26.  *
  27.  */
  28.  
  29. /********************************************************************
  30.  *
  31.  *  CODE
  32.  *
  33.  */
  34.  
  35. long __asm igui_Request(register __a0 APTR application,
  36.                         register __a1 char *title,
  37.                         register __a2 char *gads,
  38.                         register __d0 char *body,
  39.                         register __d1 APTR args)
  40.  
  41. {
  42.   #ifdef DEBUG
  43.   DEBUG_MAKRO
  44.   #endif
  45.  
  46.   {
  47.     struct Application *app = (struct Application *) application;
  48.  
  49.     // request
  50.     return(MUI_RequestA(app->app_Application,
  51.                         app->app_MainWindow,
  52.                         0, title, gads, body, args));
  53.   }
  54. }
  55.  
  56.