exglobals.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /************************************************************
  2. Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
  3. All Rights Reserved
  4. Permission to use, copy, modify, and distribute this software and its
  5. documentation for any purpose and without fee is hereby granted,
  6. provided that the above copyright notice appear in all copies and that
  7. both that copyright notice and this permission notice appear in
  8. supporting documentation, and that the name of the above listed
  9. copyright holder(s) not be used in advertising or publicity pertaining
  10. to distribution of the software without specific, written prior
  11. permission.
  12. THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
  13. TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  14. AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
  15. LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  16. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  17. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  18. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19. ********************************************************/
  20. /*****************************************************************
  21. *
  22. * Globals referenced elsewhere in the server.
  23. *
  24. */
  25. #ifdef HAVE_DIX_CONFIG_H
  26. #include <dix-config.h>
  27. #endif
  28. #include "privates.h"
  29. #ifndef EXGLOBALS_H
  30. #define EXGLOBALS_H 1
  31. extern int IReqCode;
  32. extern int IEventBase;
  33. extern int BadDevice;
  34. extern int BadMode;
  35. extern int DeviceBusy;
  36. extern int BadClass;
  37. /* Note: only the ones needed in files other than extinit.c are declared */
  38. extern const Mask DevicePointerMotionMask;
  39. extern const Mask DevicePointerMotionHintMask;
  40. extern const Mask DeviceFocusChangeMask;
  41. extern const Mask DeviceStateNotifyMask;
  42. extern const Mask DeviceMappingNotifyMask;
  43. extern const Mask DeviceOwnerGrabButtonMask;
  44. extern const Mask DeviceButtonGrabMask;
  45. extern const Mask DeviceButtonMotionMask;
  46. extern const Mask DevicePresenceNotifyMask;
  47. extern const Mask DevicePropertyNotifyMask;
  48. extern const Mask XIAllMasks;
  49. extern Mask PropagateMask[];
  50. extern int DeviceValuator;
  51. extern int DeviceKeyPress;
  52. extern int DeviceKeyRelease;
  53. extern int DeviceButtonPress;
  54. extern int DeviceButtonRelease;
  55. extern int DeviceMotionNotify;
  56. extern int DeviceFocusIn;
  57. extern int DeviceFocusOut;
  58. extern int ProximityIn;
  59. extern int ProximityOut;
  60. extern int DeviceStateNotify;
  61. extern int DeviceKeyStateNotify;
  62. extern int DeviceButtonStateNotify;
  63. extern int DeviceMappingNotify;
  64. extern int ChangeDeviceNotify;
  65. extern int DevicePresenceNotify;
  66. extern int DevicePropertyNotify;
  67. extern RESTYPE RT_INPUTCLIENT;
  68. extern DevPrivateKeyRec XIClientPrivateKeyRec;
  69. #define XIClientPrivateKey (&XIClientPrivateKeyRec)
  70. #endif /* EXGLOBALS_H */