1 // $XConsortium: XpmLib.hh /main/3 1996/06/11 16:30:35 cde-hal $
2 /* Copyright (c) 1994 FUJITSU LIMITED */
3 /* All Rights Reserved */
16 XpmLib(const char* = 0, int = RTLD_LAZY);
19 bool is_open() { return f_handle ? TRUE : FALSE; } // if library opened properly
21 int CreatePixmapFromData(Display*, Drawable, char**, Pixmap*, Pixmap*, XpmAttributes*);
23 int CreatePixmapFromBuffer(Display*, Drawable, char*, Pixmap*, Pixmap*, XpmAttributes*);
25 int ReadFileToPixmap(Display*, Drawable, char*, Pixmap*, Pixmap*, XpmAttributes*);
27 static XpmLib& xpm_lib() { return *f_xpm_lib; }
33 static XpmLib* f_xpm_lib;
35 void* symbol(const char*);
38 inline XpmLib& xpm_lib()
40 return XpmLib::xpm_lib();