home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / ScriptExplorer / LG_main.h < prev    next >
Encoding:
Text File  |  1997-06-11  |  920 b   |  35 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    <PP Starter Header>.h        ©1994-1995 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <LApplication.h>
  8.  
  9. #include "LG_Constants.h"
  10.  
  11. class CLGCommander;
  12.  
  13. class    LGApp : public LApplication {
  14. public:
  15.                         LGApp();        // constructor registers all PPobs
  16.     virtual             ~LGApp();        // stub destructor
  17.     
  18.         // this overriding function performs application functions
  19.         
  20.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  21.     
  22.         // this overriding function returns the status of menu items
  23.         
  24.     virtual void        FindCommandStatus(CommandT inCommand,
  25.                             Boolean &outEnabled, Boolean &outUsesMark,
  26.                             Char16 &outMark, Str255 outName);
  27.     
  28.     //-------------
  29.     CLGCommander    *mCmdr;
  30.  
  31.  
  32. protected:
  33.  
  34.     virtual void        StartUp();        // overriding startup functions
  35. };