Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:30

0001 /*
0002 Copyright (c) 1992  X Consortium
0003 
0004 Permission is hereby granted, free of charge, to any person obtaining a copy
0005 of this software and associated documentation files (the "Software"), to deal
0006 in the Software without restriction, including without limitation the rights
0007 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008 copies of the Software, and to permit persons to whom the Software is
0009 furnished to do so, subject to the following conditions:
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of the X Consortium shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from the X Consortium.
0024  *
0025  * Author:  Keith Packard, MIT X Consortium
0026  */
0027 
0028 #ifndef _SAVER_H_
0029 #define _SAVER_H_
0030 
0031 #define ScreenSaverName "MIT-SCREEN-SAVER"
0032 #define ScreenSaverPropertyName "_MIT_SCREEN_SAVER_ID"
0033 
0034 #define ScreenSaverNotifyMask   0x00000001
0035 #define ScreenSaverCycleMask    0x00000002
0036 
0037 #define ScreenSaverMajorVersion 1
0038 #define ScreenSaverMinorVersion 1
0039 
0040 #define ScreenSaverOff      0
0041 #define ScreenSaverOn       1
0042 #define ScreenSaverCycle    2
0043 #define ScreenSaverDisabled 3
0044 
0045 #define ScreenSaverBlanked  0
0046 #define ScreenSaverInternal 1
0047 #define ScreenSaverExternal 2
0048 
0049 #define ScreenSaverNotify   0
0050 #define ScreenSaverNumberEvents 1
0051 
0052 #endif /* _SAVER_H_ */