selection.h revision 05b261ec
105b261ecSmrg 205b261ecSmrg#ifndef SELECTION_H 305b261ecSmrg#define SELECTION_H 1 405b261ecSmrg 505b261ecSmrg/*********************************************************** 605b261ecSmrg 705b261ecSmrgCopyright 1987, 1998 The Open Group 805b261ecSmrg 905b261ecSmrgPermission to use, copy, modify, distribute, and sell this software and its 1005b261ecSmrgdocumentation for any purpose is hereby granted without fee, provided that 1105b261ecSmrgthe above copyright notice appear in all copies and that both that 1205b261ecSmrgcopyright notice and this permission notice appear in supporting 1305b261ecSmrgdocumentation. 1405b261ecSmrg 1505b261ecSmrgThe above copyright notice and this permission notice shall be included in 1605b261ecSmrgall copies or substantial portions of the Software. 1705b261ecSmrg 1805b261ecSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1905b261ecSmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2005b261ecSmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 2105b261ecSmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 2205b261ecSmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 2305b261ecSmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2405b261ecSmrg 2505b261ecSmrgExcept as contained in this notice, the name of The Open Group shall not be 2605b261ecSmrgused in advertising or otherwise to promote the sale, use or other dealings 2705b261ecSmrgin this Software without prior written authorization from The Open Group. 2805b261ecSmrg 2905b261ecSmrg 3005b261ecSmrgCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. 3105b261ecSmrg 3205b261ecSmrg All Rights Reserved 3305b261ecSmrg 3405b261ecSmrgPermission to use, copy, modify, and distribute this software and its 3505b261ecSmrgdocumentation for any purpose and without fee is hereby granted, 3605b261ecSmrgprovided that the above copyright notice appear in all copies and that 3705b261ecSmrgboth that copyright notice and this permission notice appear in 3805b261ecSmrgsupporting documentation, and that the name of Digital not be 3905b261ecSmrgused in advertising or publicity pertaining to distribution of the 4005b261ecSmrgsoftware without specific, written prior permission. 4105b261ecSmrg 4205b261ecSmrgDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 4305b261ecSmrgALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 4405b261ecSmrgDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 4505b261ecSmrgANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 4605b261ecSmrgWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 4705b261ecSmrgARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 4805b261ecSmrgSOFTWARE. 4905b261ecSmrg 5005b261ecSmrg******************************************************************/ 5105b261ecSmrg 5205b261ecSmrg#include "dixstruct.h" 5305b261ecSmrg/* 5405b261ecSmrg * 5505b261ecSmrg * Selection data structures 5605b261ecSmrg */ 5705b261ecSmrg 5805b261ecSmrgtypedef struct _Selection { 5905b261ecSmrg Atom selection; 6005b261ecSmrg TimeStamp lastTimeChanged; 6105b261ecSmrg Window window; 6205b261ecSmrg WindowPtr pWin; 6305b261ecSmrg ClientPtr client; 6405b261ecSmrg} Selection; 6505b261ecSmrg 6605b261ecSmrg#endif /* SELECTION_H */ 6705b261ecSmrg 6805b261ecSmrg 69