00001 //--------------------------------------------------------------------------- 00002 /// \file CATButton.h 00003 /// \brief Momentary push button for GUI 00004 /// \ingroup CATGUI 00005 /// 00006 /// Copyright (c) 2003-2008 by Michael Ellison. 00007 /// See COPYING.txt for the \ref gaslicense License (MIT License). 00008 /// 00009 // $Author: mikeellison $ 00010 // $Date: 2008-01-24 06:27:32 -0600 (Thu, 24 Jan 2008) $ 00011 // $Revision: $ 00012 // $NoKeywords: $ 00013 //--------------------------------------------------------------------------- 00014 #ifndef CATButton_H_ 00015 #define CATButton_H_ 00016 00017 #include "CATControl.h" 00018 00019 /// \class CATButton CATButton.h 00020 /// \brief Momentary push button for GUI 00021 /// \ingroup CATGUI 00022 class CATButton : public CATControl 00023 { 00024 public: 00025 CATButton( const CATString& element, 00026 const CATString& rootDir); 00027 00028 virtual ~CATButton(); 00029 00030 virtual CATUInt32 GetAccessRole() {return CAT_ROLE_SYSTEM_PUSHBUTTON;} 00031 00032 protected: 00033 }; 00034 00035 #endif // CATButton_H_ 00036 00037