#ifndef __OOL_XRESOURCE_H__
#define __OOL_XRESOURCE_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XResource                             */
/*                       derived from: XObject                               */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/



#include "xobject.h"

class XResourceLibrary;

class _export_ XResource: public XObject
{
    friend class XFrameWindow;
    friend class XToolBar;
    friend class XMessageBox;
    friend class XMenuBar;
    friend class XPopupMenu;
    friend class XObjectWindow;
    friend class XBitmap;
  private:
    XResourceLibrary * library;
    unsigned long id;
  public:
    XResource( unsigned long resId, XResourceLibrary * lib);
    virtual ~XResource() {;}
};

#endif
