home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / include / xreslib.h < prev    next >
Text File  |  1997-02-23  |  1KB  |  38 lines

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