home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / taman002.zip / TASKMANA.ZIP / src / kObjectRecord.h < prev    next >
C/C++ Source or Header  |  2000-04-29  |  1KB  |  45 lines

  1. /* $Id: kObjectRecord.h,v 1.1 2000/04/29 19:06:35 stknut Exp $
  2.  *
  3.  * kObjectRecord - Container record.
  4.  *
  5.  * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
  6.  *
  7.  */
  8. #ifndef _kObjectRecord_h_
  9. #define _kObjectRecord_h_
  10.  
  11.  
  12. /**
  13.  * Container data record for executable objects.
  14.  * @author      knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
  15.  */
  16. class kObjectRecord : public kCnrMiniRecord
  17. {
  18. private:
  19.     int           iObjNo;
  20.  
  21.     CHAR          szObjNo[10];
  22.     PSZ           pszObjNo;
  23.     CHAR          szBase[16];
  24.     PSZ           pszBase;
  25.     CHAR          szSize[10];
  26.     PSZ           pszSize;
  27.     CHAR          szFlags[10];
  28.     PSZ           pszFlags;
  29.     CHAR          szFlagsExp[100];
  30.     PSZ           pszFlagsExp;
  31.  
  32. public:
  33.  
  34.     /**@cat public methods */
  35.     VOID    init();
  36.     VOID    set(qsLObjrec_t *pObjRec, int iObjNo);
  37.     USHORT  getObjNo() {return iObjNo;}
  38.  
  39.     /**@cat public static data */
  40.     static const FIELDINFO aFieldInfo[];
  41.     static const unsigned  cFieldInfo;
  42. };
  43.  
  44. #endif
  45.