PageRenderTime 51ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/saver.h

#
C++ Header | 52 lines | 18 code | 8 blank | 26 comment | 0 complexity | e2cd683dc8c6c1f7cea57653f66c2c15 MD5 | raw file
  1. /*
  2. Copyright (c) 1992 X Consortium
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in
  10. all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  15. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  16. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  17. Except as contained in this notice, the name of the X Consortium shall not be
  18. used in advertising or otherwise to promote the sale, use or other dealings
  19. in this Software without prior written authorization from the X Consortium.
  20. *
  21. * Author: Keith Packard, MIT X Consortium
  22. */
  23. #ifndef _SAVER_H_
  24. #define _SAVER_H_
  25. #define ScreenSaverName "MIT-SCREEN-SAVER"
  26. #define ScreenSaverPropertyName "_MIT_SCREEN_SAVER_ID"
  27. #define ScreenSaverNotifyMask 0x00000001
  28. #define ScreenSaverCycleMask 0x00000002
  29. #define ScreenSaverMajorVersion 1
  30. #define ScreenSaverMinorVersion 1
  31. #define ScreenSaverOff 0
  32. #define ScreenSaverOn 1
  33. #define ScreenSaverCycle 2
  34. #define ScreenSaverDisabled 3
  35. #define ScreenSaverBlanked 0
  36. #define ScreenSaverInternal 1
  37. #define ScreenSaverExternal 2
  38. #define ScreenSaverNotify 0
  39. #define ScreenSaverNumberEvents 1
  40. #endif /* _SAVER_H_ */