CvtCache.h revision 6c321187
16c321187Smrg/* $Xorg: CvtCache.h,v 1.4 2001/02/09 02:03:52 xorgcvs Exp $ */
26c321187Smrg
36c321187Smrg/*
46c321187Smrg
56c321187SmrgCopyright 1989, 1998  The Open Group
66c321187Smrg
76c321187SmrgPermission to use, copy, modify, distribute, and sell this software and its
86c321187Smrgdocumentation for any purpose is hereby granted without fee, provided that
96c321187Smrgthe above copyright notice appear in all copies and that both that
106c321187Smrgcopyright notice and this permission notice appear in supporting
116c321187Smrgdocumentation.
126c321187Smrg
136c321187SmrgThe above copyright notice and this permission notice shall be included in
146c321187Smrgall copies or substantial portions of the Software.
156c321187Smrg
166c321187SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
176c321187SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
186c321187SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
196c321187SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
206c321187SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
216c321187SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
226c321187Smrg
236c321187SmrgExcept as contained in this notice, the name of The Open Group shall not be
246c321187Smrgused in advertising or otherwise to promote the sale, use or other dealings
256c321187Smrgin this Software without prior written authorization from The Open Group.
266c321187Smrg
276c321187Smrg*/
286c321187Smrg/* $XFree86: xc/lib/Xmu/CvtCache.h,v 1.6 2001/01/17 19:42:54 dawes Exp $ */
296c321187Smrg
306c321187Smrg/*
316c321187Smrg *			       Public Interfaces
326c321187Smrg *
336c321187Smrg * XmuCvtCache *XmuCvtCacheLookupDisplay (dpy)
346c321187Smrg *     Display *dpy;
356c321187Smrg */
366c321187Smrg
376c321187Smrg#ifndef _XMU_CVTCACHE_H_
386c321187Smrg#define _XMU_CVTCACHE_H_
396c321187Smrg
406c321187Smrg#include <X11/Xmu/DisplayQue.h>
416c321187Smrg#include <X11/Xfuncproto.h>
426c321187Smrg
436c321187Smrgtypedef struct _XmuCvtCache {
446c321187Smrg    struct {
456c321187Smrg	char **bitmapFilePath;
466c321187Smrg    } string_to_bitmap;
476c321187Smrg    /* add other per-display data that needs to be cached */
486c321187Smrg} XmuCvtCache;
496c321187Smrg
506c321187Smrg_XFUNCPROTOBEGIN
516c321187Smrg
526c321187SmrgXmuCvtCache *_XmuCCLookupDisplay
536c321187Smrg(
546c321187Smrg Display	*dpy
556c321187Smrg );
566c321187Smrg
576c321187Smrgextern void _XmuStringToBitmapInitCache(XmuCvtCache *c);
586c321187Smrgextern void _XmuStringToBitmapFreeCache(XmuCvtCache *c);
596c321187Smrg
606c321187Smrg_XFUNCPROTOEND
616c321187Smrg
626c321187Smrg#endif /* _XMU_CVTCACHE_H_ */
63