home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / NeoIntroTCL3.0 folder / TCL / NeoBench / Includes / CFiller.h next >
Encoding:
C/C++ Source or Header  |  1994-04-27  |  931 b   |  38 lines  |  [TEXT/MMCC]

  1. /************************************************************
  2.  *
  3.  *    Created: Tuesday, March 29, 1994 2:55:51 PM
  4.  *    CFiller.h
  5.  *    Definition of a dummy persistent object class
  6.  *
  7.  *
  8.  *    Copyright © Neologic Systems 1992-1994. All Rights Reserved.
  9.  *    All rights reserved
  10.  *
  11.  ***********************************************************/
  12. #pragma once            /* Include this file only once */
  13. #ifndef __CFiller__
  14. #define __CFiller__ 1
  15.  
  16. #include CNeoPersistNativeH
  17.  
  18. const NeoID kFillerID            = 32;
  19. const long kFillerSize            = 2;
  20. #define kFillerName                 "\pCFiller"
  21.  
  22. class CFiller : public CNeoPersistNative
  23. {
  24. public:
  25.     static CNeoPersist *New(void);
  26.     virtual NeoID        getClassID(void) const;
  27.     virtual long        getFileLength(void) const;
  28.  
  29.                         /** I/O Methods **/
  30.     virtual void        readObject(CNeoStream *aStream, const NeoTag aTag);
  31.     virtual void        writeObject(CNeoStream *aStream, const NeoTag aTag);
  32.  
  33. protected:
  34.     char                fFiller[kFillerSize];
  35. };
  36.  
  37. #endif
  38.