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