home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
include
/
xres.h
< prev
next >
Wrap
Text File
|
1997-02-23
|
1KB
|
34 lines
#ifndef __OOL_XRESOURCE_H__
#define __OOL_XRESOURCE_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------- OS/2 Beta 1 */
/*===========================================================================*/
/* class: XResource */
/* derived from: XObject */
/* last update: 12/96 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "xobject.h"
class XResourceLibrary;
class XWindow;
class _export_ XResource: public XObject
{
private:
XResourceLibrary * library;
unsigned long id;
public:
XResource( const unsigned long resId, const XResourceLibrary * lib) { id = resId; library = (XResourceLibrary*) lib; }
XResourceLibrary * GetResourceLibrary( void ) const { return library; }
virtual ~XResource() {;}
ULONG GetID(void) const { return id; }
void SetID( const LONG i) { id = i; }
};
#endif