117ca54c3Smrg/*
217ca54c3SmrgCopyright (c) 1992  X Consortium
317ca54c3Smrg
417ca54c3SmrgPermission is hereby granted, free of charge, to any person obtaining a copy
517ca54c3Smrgof this software and associated documentation files (the "Software"), to deal
617ca54c3Smrgin the Software without restriction, including without limitation the rights
717ca54c3Smrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
817ca54c3Smrgcopies of the Software, and to permit persons to whom the Software is
917ca54c3Smrgfurnished to do so, subject to the following conditions:
1017ca54c3Smrg
1117ca54c3SmrgThe above copyright notice and this permission notice shall be included in
1217ca54c3Smrgall copies or substantial portions of the Software.
1317ca54c3Smrg
1417ca54c3SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1517ca54c3SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1617ca54c3SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
1717ca54c3SmrgX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1817ca54c3SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1917ca54c3SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2017ca54c3Smrg
2117ca54c3SmrgExcept as contained in this notice, the name of the X Consortium shall not be
2217ca54c3Smrgused in advertising or otherwise to promote the sale, use or other dealings
2317ca54c3Smrgin this Software without prior written authorization from the X Consortium.
2417ca54c3Smrg *
2517ca54c3Smrg * Author:  Keith Packard, MIT X Consortium
2617ca54c3Smrg */
2717ca54c3Smrg
2817ca54c3Smrg#ifndef _SAVER_H_
2917ca54c3Smrg#define _SAVER_H_
3017ca54c3Smrg
3117ca54c3Smrg#define ScreenSaverName	"MIT-SCREEN-SAVER"
3217ca54c3Smrg#define ScreenSaverPropertyName "_MIT_SCREEN_SAVER_ID"
3317ca54c3Smrg
3417ca54c3Smrg#define ScreenSaverNotifyMask	0x00000001
3517ca54c3Smrg#define ScreenSaverCycleMask	0x00000002
3617ca54c3Smrg
3717ca54c3Smrg#define ScreenSaverMajorVersion	1
3817ca54c3Smrg#define ScreenSaverMinorVersion	1
3917ca54c3Smrg
4017ca54c3Smrg#define ScreenSaverOff		0
4117ca54c3Smrg#define ScreenSaverOn		1
4217ca54c3Smrg#define ScreenSaverCycle	2
4317ca54c3Smrg#define ScreenSaverDisabled	3
4417ca54c3Smrg
4517ca54c3Smrg#define ScreenSaverBlanked	0
4617ca54c3Smrg#define ScreenSaverInternal	1
4717ca54c3Smrg#define ScreenSaverExternal	2
4817ca54c3Smrg
4917ca54c3Smrg#define ScreenSaverNotify	0
5017ca54c3Smrg#define ScreenSaverNumberEvents	1
5117ca54c3Smrg
5217ca54c3Smrg#endif /* _SAVER_H_ */
53