home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / javasamp.zip / AppDefs.C next >
C/C++ Source or Header  |  1996-10-01  |  3KB  |  61 lines

  1. #pragma    title("Java - PM Sample  --  Version 1.0  --  (AppDefs.C)")
  2. #pragma    subtitle("   Module Purpose - Interface Definitions")
  3.  
  4. #define    INCL_WIN           /* Include OS/2 PM Windows Interface    */
  5.  
  6. #include <os2.h>
  7.  
  8. #include "appdefs.h"
  9. #include "java.h"
  10.  
  11. /* This    module contains    routine    used to    define global application    */
  12. /* variables.                                */
  13.  
  14. /* Filename:   AppDefs.C                        */
  15.  
  16. /*  Version:   1.0                            */
  17. /*  Created:   1996-10-10                        */
  18. /*  Revised:   1996-10-10                        */
  19.  
  20. /* Routines:   None                            */
  21.  
  22.  
  23. /************************************************************************/
  24. /************************************************************************/
  25. /************************************************************************/
  26. /* DISCLAIMER OF WARRANTIES:                        */
  27. /* -------------------------                        */
  28. /* The following [enclosed] code is sample code    created    by IBM        */
  29. /* Corporation and Prominare Inc.  This    sample code is not part    of any    */
  30. /* standard IBM    product    and is provided    to you solely for the purpose    */
  31. /* of assisting    you in the development of your applications.  The code    */
  32. /* is provided "AS IS",    without    warranty of any    kind.  Neither IBM nor    */
  33. /* Prominare shall be liable for any damages arising out of your    */
  34. /* use of the sample code, even    if they    have been advised of the    */
  35. /* possibility of such damages.                        */
  36. /************************************************************************/
  37. /************************************************************************/
  38. /************************************************************************/
  39. /*               D I S C L A I M E R                */
  40. /* This    code is    provided on an as is basis with    no implied support.    */
  41. /* It should be    considered freeware that cannot    be rebundled as        */
  42. /* part    of a larger "*ware" offering without our consent.        */
  43. /************************************************************************/
  44. /************************************************************************/
  45. /************************************************************************/
  46.  
  47. /* Copyright ╕ International Business Machines Corp., 1996.        */
  48. /* Copyright ╕ 1996  Prominare Inc.  All Rights    Reserved.        */
  49.  
  50. /* --------------------------------------------------------------------    */
  51.  
  52. FONTMETRICS fm;               /* Font Metrics Info            */
  53. HAB        hAB;           /* Program Anchor Block Handle    */
  54. HSWITCH        hSwitch;           /* Task List    Entry Handle        */
  55.  
  56. HMQ  hmqJava;               /* Program Message Queue Handle    */
  57. HWND hwndJava;               /* Client Window Handle        */
  58. HWND hwndJavaFrame;           /* Frame Window Handle        */
  59. HWND hmenuJava;               /* Menu Handle            */
  60.  
  61.