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 >
Text File  |  1997-08-25  |  1KB  |  36 lines

  1. #ifndef __OOL_XRESLIB_H__
  2. #define __OOL_XRESLIB_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XResourceLibrary                      */
  8. /*                       derived from: XObject                               */
  9. /*                        last update: 6/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xobject.h"
  14.  
  15. class XWindow;
  16. class XString;
  17.  
  18. class _export_ XResourceLibrary: public XObject
  19. {
  20.       friend class XDummyApplication;
  21.    private:
  22. public:
  23.       HMODULE moduleHandle;
  24.    public:
  25.       XResourceLibrary( const char * path = NULL);
  26.       ~XResourceLibrary();
  27.       ULONG GetModuleHandle( void ) const { return moduleHandle; }
  28.       PFNWP LoadFunction( char * name);
  29.       BOOL LoadString( XString * string, const unsigned long resId);
  30.       OOL_WINDOWHANDLE LoadMenu( const XWindow * f, const unsigned long id);
  31.       BOOL UnLoadFunction( PFNWP pfnwp);
  32. };
  33.  
  34.  
  35. #endif
  36.