X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/fa64e43069529b159016b7e5f8cd8f09a11ba12d..f6795c17f9899da2759a2f5782e17b2ee5a0dbb9:/xatom.h diff --git a/xatom.h b/xatom.h deleted file mode 100644 index daf631d..0000000 --- a/xatom.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*-c-*- - * - * $Id: xatom.h,v 1.2 2004/04/08 01:36:29 mdw Exp $ - * - * Set and fetch X atom properties - * - * (c) 1999 Straylight/Edgeware - */ - -/*----- Licensing notice --------------------------------------------------* - * - * This file is part of the Edgeware X tools collection. - * - * X tools is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * X tools is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with X tools; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef XATOM_H -#define XATOM_H - -#ifdef __cplusplus - extern "C" { -#endif - -/*----- Header files ------------------------------------------------------*/ - -#include -#include - -/*----- Functions provided ------------------------------------------------*/ - -/* --- @xatom_set@ --- * - * - * Arguments: @Display *d@ = pointer to display - * @Window w@ = window to set - * @Atom p@ = property to set - * @Atom a@ = atom property value - * - * Returns: --- - * - * Use: Sets an atom property on a particular window. - */ - -extern void xatom_set(Display */*d*/, Window /*w*/, Atom /*p*/, Atom /*a*/); - -/* --- @xatom_get@ --- * - * - * Arguments: @Display *d@ = pointer to display - * @Window w@ = window to set - * @Atom p@ = property to read - * - * Returns: Atom which is the value of the property. - * - * Use: Reads an atom property from a particular window. The value - * @None@ is returned if there is no atom value. - */ - -extern Atom xatom_get(Display */*d*/, Window /*w*/, Atom /*p*/); - -/*----- That's all, folks -------------------------------------------------*/ - -#ifdef __cplusplus - } -#endif - -#endif