home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / dev.idb / usr / include / abi / Xm / VirtKeysP.h.z / VirtKeysP.h
C/C++ Source or Header  |  1996-03-14  |  2KB  |  84 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: VirtKeysP.h,v $ $Revision: 1.2 $ $Date: 1994/04/20 01:42:00 $ */
  9. /*
  10. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  11. #ifndef _XmVirtKeysP_h
  12. #define _XmVirtKeysP_h
  13.  
  14. #include <Xm/XmP.h>
  15. #include <Xm/VirtKeys.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. #define XmKEYCODE_TAG_SIZE 32
  22.  
  23. typedef struct _XmDefaultBindingStringRec{
  24.     String    vendorName;
  25.     String    defaults;
  26. }XmDefaultBindingStringRec, *XmDefaultBindingString;
  27.  
  28. typedef    struct _XmKeyBindingRec{
  29.     KeySym        keysym;
  30.     unsigned int    modifiers;
  31. }XmKeyBindingRec, *XmKeyBinding;
  32.  
  33. typedef    struct _XmVirtualKeysymRec{
  34.     String        name;
  35.     KeySym        keysym;
  36. }XmVirtualKeysymRec, *XmVirtualKeysym;
  37.  
  38. /********    Private Function Declarations    ********/
  39. #ifdef _NO_PROTO
  40.  
  41. extern void _XmVirtKeysInitialize() ;
  42. extern void _XmVirtKeysDestroy() ;
  43. extern void _XmVirtKeysHandler() ;
  44. extern void _XmVirtualToActualKeysym() ;
  45. extern void _XmVirtKeysStoreBindings() ;
  46. extern Boolean _XmVirtKeysLoadFileBindings() ;
  47. extern int _XmVirtKeysLoadFallbackBindings() ;
  48.  
  49. #else
  50.  
  51. extern void _XmVirtKeysInitialize( 
  52.                         Widget widget) ;
  53. extern void _XmVirtKeysDestroy( 
  54.                         Widget widget) ;
  55. extern void _XmVirtKeysHandler( 
  56.                         Widget widget,
  57.                         XtPointer client_data,
  58.                         XEvent *event,
  59.                         Boolean *dontSwallow) ;
  60. extern void _XmVirtualToActualKeysym( 
  61.                         Display *dpy,
  62.                         KeySym virtKeysym,
  63.                         KeySym *actualKeysymRtn,
  64.                         Modifiers *modifiersRtn) ;
  65. extern void _XmVirtKeysStoreBindings( 
  66.                         Widget shell,
  67.                         String binding) ;
  68. extern Boolean _XmVirtKeysLoadFileBindings( 
  69.                         char *fileName,
  70.                         String *binding) ;
  71. extern int _XmVirtKeysLoadFallbackBindings(
  72.             Display *display,
  73.             String *binding) ;
  74.  
  75. #endif /* _NO_PROTO */
  76. /********    End Private Function Declarations    ********/
  77.  
  78.  
  79. #ifdef __cplusplus
  80. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  81. #endif
  82.  
  83. #endif /* _XmVirtKeysP_h */
  84.