#ifndef __OOL_XTIME_H__
#define __OOL_XTIME_H__

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

#include "xobject.h"


typedef struct XtimeStructure{
         UCHAR houres;
         UCHAR minutes;
         UCHAR seconds;
         UCHAR hundreds;
         SHORT timeZone;
};


class _export_ XTime: public XObject
{
      friend class XContainerObject;
   private:
      XtimeStructure t;
   public:
      XTime( UCHAR houres=0, UCHAR minutes=0, UCHAR seconds=0, UCHAR hundreds=0, SHORT timeZone=0);
      static XTime * GetCurrentTime( void);
      virtual ~XTime() {;}
};


#endif
