home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / FinderGrok / osa stuff / CCWDisplayLine.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  645 b   |  29 lines

  1. // =================================================================================
  2. //    CCWDisplayLine.h                        ©1996-1999 Metrowerks Inc. All rights reserved.
  3. // =================================================================================
  4.  
  5. #ifndef _H_CCWDisplayLine
  6. #define _H_CCWDisplayLine
  7. #pragma once
  8.  
  9. #include <string>
  10.  
  11. class CCWDisplayLine {
  12. public:
  13.         CCWDisplayLine(const string& fileName, SInt32 lineToDisplay); 
  14.  
  15.         void    Display();
  16.  
  17.  
  18. private:
  19.         void    CompileDisplayScript();
  20.         void    DisplayFile();
  21.         void    DisplayLine();
  22.         
  23.         string    fFileName;
  24.         SInt32    fLineToDisplay;
  25.         static Handle    gDisplayScript; 
  26.         
  27. };
  28.  
  29. #endif // _H_CCWDisplayLine