home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / Sessions / Traut / ZStrings / Source / MacOS / GraphicalTool / MacZStringToolApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  1.3 KB  |  61 lines

  1. /*==================================================================
  2.     File:        MacZStringToolApp.cp
  3.  
  4.     Contains:    Primary application class for the Mac ZString tool
  5.                 (based on the PowerPlant framework)
  6.  
  7.     Written by:    Eric Traut
  8.  
  9.     Copyright:    2000-2001 Connectix Corporation
  10.     
  11.     This source has been placed into the public domain by
  12.     Connectix Corporation. You have the right to modify, 
  13.     distribute or use this code without any legal limitations
  14.     or finanicial/licensing requirements. Connectix is not 
  15.     liable for any problems that result from the use of this 
  16.     code.
  17.     
  18.     If you have comments, feedback, questions, or would like
  19.     to submit bug fixes or updates to this code, please email
  20.     opensource@connectix.com.
  21. ==================================================================*/
  22.  
  23. #ifndef _H_MacZStringToolApp
  24. #define _H_MacZStringToolApp
  25. #pragma once
  26.  
  27. #include <LApplication.h>
  28.  
  29. class MacZStringToolApp : public LApplication
  30. {
  31.     public:
  32.         MacZStringToolApp();
  33.         
  34.         virtual
  35.         ~MacZStringToolApp();
  36.  
  37.         virtual Boolean
  38.         ObeyCommand(
  39.             CommandT            inCommand,
  40.             void *                ioParam = NULL);    
  41.  
  42.         virtual void
  43.         FindCommandStatus(
  44.             CommandT            inCommand,
  45.             Boolean&            outEnabled,
  46.             Boolean&            outUsesMark,
  47.             UInt16&                outMark,
  48.             Str255                outName);
  49.  
  50.     protected:
  51.         virtual void
  52.         StartUp();
  53.         
  54.         void
  55.         RegisterClasses();
  56. };
  57.  
  58. #endif // _H_MacZStringToolApp
  59.  
  60.  
  61.