text: //%includeGuardStart {
  #ifndef GLAPPSIGNAL_H
  #define GLAPPSIGNAL_H
  //%includeGuardStart } CvdEEBCrta1/dmo/cPMNvA
  //%Header {
  /*****************************************************************************
   *
   * File: src/GL/GLAppSignal.h
   *
   * Author: Andy Southgate 2002-2005
   *
   * This file contains original work by Andy Southgate.  The author and his
   * employer (Mushware Limited) irrevocably waive all of their copyright rights
   * vested in this particular version of this file to the furthest extent
   * permitted.  The author and Mushware Limited also irrevocably waive any and
   * all of their intellectual property rights arising from said file and its
   * creation that would otherwise restrict the rights of any party to use and/or
   * distribute the use of, the techniques and methods used herein.  A written
   * waiver can be obtained via http://www.mushware.com/.
   *
   * This software carries NO WARRANTY of any kind.
   *
   ****************************************************************************/
  //%Header } +jtQjhh0MjE7AsiOTYWrQw
  /*
   * $Id: GLAppSignal.h,v 1.17 2005/07/06 19:08:26 southa Exp $
   * $Log: GLAppSignal.h,v $
   * Revision 1.17  2005/07/06 19:08:26  southa
   * Adanaxis control work
   *
   * Revision 1.16  2005/05/19 13:01:58  southa
   * Mac release work
   *
   * Revision 1.15  2004/01/06 20:46:49  southa
   * Build fixes
   *
   * Revision 1.14  2004/01/02 21:13:04  southa
   * Source conditioning
   *
   * Revision 1.13  2003/09/17 19:40:29  southa
   * Source conditioning upgrades
   *
   * Revision 1.12  2003/08/21 23:08:18  southa
   * Fixed file headers
   *
   * Revision 1.11  2003/01/11 13:03:11  southa
   * Use Mushcore header
   *
   * Revision 1.10  2003/01/09 14:56:57  southa
   * Created Mushcore
   *
   * Revision 1.9  2002/12/20 13:17:34  southa
   * Namespace changes, licence changes and source conditioning
   *
   * Revision 1.8  2002/10/22 20:41:59  southa
   * Source conditioning
   *
   * Revision 1.7  2002/08/27 09:01:22  southa
   * Corrected KeyboardSignal constructor
   *
   * Revision 1.6  2002/08/27 08:56:18  southa
   * Source conditioning
   *
   * Revision 1.5  2002/08/17 10:41:50  southa
   * Designer fixes
   *
   * Revision 1.4  2002/08/07 13:36:46  southa
   * Conditioned source
   *
   * Revision 1.3  2002/07/06 18:04:17  southa
   * More designer work
   *
   * Revision 1.2  2002/06/27 12:36:05  southa
   * Build process fixes
   *
   * Revision 1.1  2002/05/31 15:18:15  southa
   * Keyboard reading
   *
   */
  
  #include "GLKeys.h"
  #include "mushMushcore.h"
  
  class GLAppSignal: public MushcoreAppSignal
  {
  public:
      GLAppSignal(Mushware::U32 inSigNumber): MushcoreAppSignal(inSigNumber) {}
      enum GLSigNumber
      {
          kDisplay=0x100,
          kVisible,
          kNotVisible,
          kKeyboard
      };
  };
  
  class GLKeyboardSignal: public MushcoreAppSignal
  {
  public:
      GLKeyboardSignal(bool inKeyDown, GLKeys inKeyValue, Mushware::tVal inMouseX, Mushware::tVal inMouseY):
          MushcoreAppSignal(GLAppSignal::kKeyboard),
          keyDown(inKeyDown),
          keyValue(inKeyValue),
          mouseX(inMouseX),
          mouseY(inMouseY)
          {}
      
      const bool& KeyDown(void) { return keyDown; }
      const GLKeys& KeyValue(void) { return keyValue; }
      const Mushware::tVal& MouseX(void) { return mouseX; }
      const Mushware::tVal& MouseY(void) { return mouseY; }
      
      bool keyDown;
      GLKeys keyValue;
      Mushware::tVal mouseX;
      Mushware::tVal mouseY;
  };
  //%includeGuardEnd {
  #endif
  //%includeGuardEnd } hNb4yLSsimk5RFvFdUzHEw
  