home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool_main.zip
/
ool
/
include
/
xreslib.h
< prev
next >
Wrap
Text File
|
1997-08-25
|
1KB
|
36 lines
#ifndef __OOL_XRESLIB_H__
#define __OOL_XRESLIB_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------------- r 1.0 */
/*===========================================================================*/
/* class: XResourceLibrary */
/* derived from: XObject */
/* last update: 6/97 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "xobject.h"
class XWindow;
class XString;
class _export_ XResourceLibrary: public XObject
{
friend class XDummyApplication;
private:
public:
HMODULE moduleHandle;
public:
XResourceLibrary( const char * path = NULL);
~XResourceLibrary();
ULONG GetModuleHandle( void ) const { return moduleHandle; }
PFNWP LoadFunction( char * name);
BOOL LoadString( XString * string, const unsigned long resId);
OOL_WINDOWHANDLE LoadMenu( const XWindow * f, const unsigned long id);
BOOL UnLoadFunction( PFNWP pfnwp);
};
#endif