home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 310.lha / DevKit_v1.2 / Sources / WBTF.c < prev    next >
C/C++ Source or Header  |  1980-12-03  |  749b  |  29 lines

  1. /**************************************************************
  2.  *
  3.  *      WBTF.c - Brings the Workbench screen to the front.
  4.  *
  5.  *      Copyright (c) 1989, Peter Cherna
  6.  *
  7.  *      Created:  March 26, 1989
  8.  *      Modified: March 26, 1989        Release 1.2:  August 29, 1989
  9.  *
  10.  *      Auto: cc -q -o RAM:<file>.o <path><file>
  11.  *      Auto: ln RAM:<file>.o -lc -o <path><file>
  12.  *
  13.  **************************************************************/
  14.  
  15. #include <functions.h>
  16. #ifndef INTUITION_INTUITION_H
  17. #include <intuition/intuition.h>
  18. #endif
  19.  
  20. struct IntuitionBase *IntuitionBase = NULL;
  21.  
  22. main()
  23.     {
  24.     IntuitionBase = (struct IntuitionBase *)
  25.         OpenLibrary("intuition.library",0L);
  26.     WBenchToFront();
  27.     CloseLibrary(IntuitionBase);
  28.     }
  29.