/*
 * Copyright (C) 1992 by Software Research Associates, Inc.
 *      Author: Y. Kawabe <kawabe@sra.co.jp>
 *
 * Permission to use, copy, modify, and distribute, and sell this software
 * and its documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in supporting
 * documentation, and that the name of Software Research Associates not be
 * used in advertising or publicity pertaining to distribution of the software
 * without specific, written prior permission.  Software Research Associates
 * makes no representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied warranty.
 *
 */

#ifndef iv_xatom_h
#define iv_xatom_h

#include <InterViews/enter-scope.h>
#include <IV-X11/Xlib.h>
//#include <OS/enter-scope.h>

class String;
class XAtomRep;

class XAtom {
public:
    static Atom intern(XDisplay *, const String&);
    static const String& name(XDisplay *, Atom);
private:
    static XAtomRep *rep_;
};

#endif
