home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / master12.zip / mastering / Newapp / Global.h < prev    next >
C/C++ Source or Header  |  1992-08-19  |  1KB  |  50 lines

  1. /* Global.h -- This file contains the includes, defines, and extern declara-
  2.                tions needed by most (or all) other parts of the application.  */
  3.  
  4. /* Standard includes. */
  5. #include <malloc.h>
  6. #include <stdio.h>
  7. #include <string.h>
  8.  
  9. /* X includes. */
  10. #include <X11/Xatom.h>
  11. #include <X11/Intrinsic.h>
  12. #include <X11/Protocols.h>
  13. #include <X11/Shell.h>
  14.  
  15. /* Motif includes. */
  16. #include <X11/MwmUtil.h>
  17. #include <Xm/Xm.h>
  18. #include <Xm/CascadeBG.h>
  19. #include <Xm/CutPaste.h>
  20. #include <Xm/Form.h>
  21. #include <Xm/LabelG.h>
  22. #include <Xm/MainW.h>
  23. #include <Xm/MessageB.h>
  24. #include <Xm/PushBG.h>
  25. #include <Xm/RowColumn.h>
  26. #include <Xm/SeparatoG.h>
  27. #include <Xm/ToggleBG.h>
  28.  
  29. /* Argument list and counter. */
  30. extern Arg    al[];
  31. extern int    ac;
  32.  
  33. /* Top-level application shell widget and related functions. */
  34. extern Widget topLevel;
  35. extern void   CreateWindowManagerProtocols();
  36. extern void   CreateSessionManagerProtocols();
  37.  
  38. /* Dialog functions and widgets. */
  39. extern Widget exitDialog, CreateExitDialog();
  40. extern void   DialogCB();
  41.  
  42. /* Pulldown menu system global variables and functions. */
  43. extern Widget CreateMenuBar();
  44. extern Widget CreatePrinterOptionMenu();
  45. extern void   MenuCB();
  46. extern int    currentView;
  47. extern Widget opt1Toggle, opt2Toggle, opt3Toggle;
  48. extern int    currentOption;
  49.  
  50.