home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Open Transport 1.3 / Open Transport SDK / Open Tpt Module Developer / Samples / DLPI Template / StreamLog / CDirtyText.h < prev    next >
Encoding:
Text File  |  1998-04-30  |  737 b   |  33 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CDirtyText.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. // ===========================================================================
  11. //    CDirtyText.h                    ©1994 Metrowerks Inc. All rights reserved.
  12. // ===========================================================================
  13.  
  14. #pragma once
  15.  
  16. #include <LTextEdit.h>
  17.  
  18.  
  19. class CDirtyText : public LTextEdit {
  20. public:
  21.     static CDirtyText*    CreateDirtyTextStream(LStream *inStream);
  22.  
  23.                          CDirtyText(LStream *inStream);
  24.                          
  25.     virtual void        SetTextPtr(Ptr inTextP, Int32 inTextLen);
  26.     virtual void        UserChangedText();
  27.     
  28.     Boolean                IsDirty();
  29.     void                SetDirty(Boolean inDirty);
  30.     
  31. protected:
  32.     Boolean        mIsDirty;
  33. };