home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / applications / misc / upsey.lha / UPSey / src / handleprojectmenu.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-27  |  1.4 KB  |  60 lines

  1.  
  2. #include <exec/types.h>
  3. #include <exec/memory.h>
  4. #include <exec/libraries.h>
  5. #include <libraries/asl.h>
  6. #include <libraries/dos.h>
  7. #include <libraries/dosextens.h>
  8. #include <dos/dos.h>
  9. #include <dos/dosasl.h>
  10. #include <intuition/intuition.h>
  11. #include <utility/tagitem.h>
  12. #include <stdio.h>
  13. #include <functions.h>
  14.  
  15. #include <local/libraries/reqtools.h>
  16.  
  17. #include "main.h"
  18. #include "functions.h"
  19.  
  20. #include  "ups.h"
  21.  
  22.  
  23. int 
  24. Project0Item0 (struct Menu *menu, struct IntuiMessage *msg)
  25. {
  26.  
  27.   if (Project0Wnd)
  28.     Project0CloseWindow (msg);
  29.  
  30.   return (1);
  31. }
  32.  
  33. int 
  34. Project0Item1 (struct Menu *menu, struct IntuiMessage *msg)
  35. {
  36.   rtEZRequestTags (" UPSey V1.0pd - Translates ZipCodes to UPS Zones.\n\n"
  37.            " © 1994 Both Software,  All rights reserved,\n\n"
  38.                 " Concept and Design Magic by Colin Thompson - colin@cts.com\n"
  39.            " Programming Magic by Will Bow  - 310/478-4913\n\n"
  40.              " This program is GIFTWARE.  It has been released to the Public\n"
  41.            " Domain and may be freely re-distributed.\n\n"
  42.            "     \" Watch for other cool stuff from BOTH Software\n"
  43.            "                  Coming soon to an Amiga near you!  :)\"\n",
  44.            "Continue",
  45.            NULL,
  46.            NULL,
  47.            RT_ReqPos, (ULONG *) REQPOS_CENTERSCR,
  48.            TAG_END);
  49.   return (1);
  50. }
  51.  
  52. int 
  53. Project0Item2 (struct Menu *menu, struct IntuiMessage *msg)
  54. {
  55.   if (Project0Wnd)
  56.     Project0CloseWindow (msg);
  57.  
  58.   return (0);
  59. }
  60.