github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/xkbcommon/include/X11/extensions/dpmsconst.h (about) 1 /***************************************************************** 2 3 Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts. 4 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 of this software and associated documentation files (the "Software"), to deal 7 in the Software without restriction, including without limitation the rights 8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 copies of the Software. 10 11 The above copyright notice and this permission notice shall be included in 12 all copies or substantial portions of the Software. 13 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, 18 BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, 19 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 20 IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 22 Except as contained in this notice, the name of Digital Equipment Corporation 23 shall not be used in advertising or otherwise to promote the sale, use or other 24 dealings in this Software without prior written authorization from Digital 25 Equipment Corporation. 26 27 ******************************************************************/ 28 29 #ifndef _DPMSCONST_H 30 #define _DPMSCONST_H 1 31 32 #define DPMSMajorVersion 1 33 #define DPMSMinorVersion 2 34 35 #define DPMSExtensionName "DPMS" 36 37 #define DPMSModeOn 0 38 #define DPMSModeStandby 1 39 #define DPMSModeSuspend 2 40 #define DPMSModeOff 3 41 42 #define DPMSInfoNotifyMask (1L << 0) 43 #define DPMSInfoNotify 0 44 45 #endif /* !_DPMSCONST_H */ 46