home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / powervww / tlog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-05  |  1.8 KB  |  59 lines

  1. //  ____________________________________________________
  2. // |                                                    |
  3. // |  Project:     POWER VIEW IDE                       |
  4. // |  File:        TLOG.H                               |
  5. // |  Compiler:    WPP386 (10.6)                        |
  6. // |                                                    |
  7. // |  Subject:     Tlog class interface                 |
  8. // |                                                    |
  9. // |  Author:      Emil Dotchevski                      |
  10. // |____________________________________________________|
  11. //
  12. // E-mail: zajo@geocities.com
  13. // URL:    http://www.geocities.com/SiliconValley/Bay/3577
  14.  
  15. #include "THIDE.H"
  16.  
  17. #ifndef _TLOG_H_INCLUDED
  18. #define _TLOG_H_INCLUDED
  19.  
  20.   #define cxLOG                 101
  21.   #define cmLOG_GOTO            cmOK
  22.   #define cmLOG_CLEAR           cmCLEAR
  23.   #define cmLOG_CLIP_COPY       cmCOPY
  24.  
  25.   class Tlog: public Thide_on_close
  26.   {
  27.     public:
  28.       Tlog( int _xl, int _yl );
  29.       virtual void fetch( char *buffer, uint row, uint column, uint width );
  30.       void editors_supervisor( char *file_name, uint where, int bytes, int lines );
  31.       void clip_copy( void );
  32.       void logout( char *text, ... );
  33.       void show_first_error( void );
  34.       void load( char *filename );
  35.       void show_error( boolean focused );
  36.       void nexterr( boolean focused );
  37.       void preverr( boolean focused );
  38.  
  39.     protected:
  40.       virtual void event_handler( Tevent &ev );
  41.       virtual void update_commands( void );
  42.   };
  43.  
  44. #endif //_TLOG_H_INCLUDED
  45.  
  46.  
  47. #ifdef _DECLARE_TLOG_H
  48.   #define GLOBAL
  49. #else
  50.   #define GLOBAL extern
  51. #endif
  52.   GLOBAL Tlog *log;
  53. #undef GLOBAL
  54.  
  55. void construct_log( void );
  56. void win_log( void );
  57. void log_nexterr( void );
  58. void log_preverr( void );
  59.