stable
        v1.7.0
      
      
        
          | Last change
 on this file was             56f73b, checked in by Frederik Heber <heber@…>, 15 years ago | 
        
          | 
Added config.h also to all header files, code check test ascertain this in the future.
 as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG,
LOG_OBSERVER, we have to make sure that it is present in each and every
file.
split up CodeChecks/testsuite.at: each test has its own .at file.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            540 bytes | 
      
      
| Rev | Line |  | 
|---|
| [56f73b] | 1 | /* | 
|---|
|  | 2 | * SubMenuItem.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Dec 10, 2009 | 
|---|
|  | 5 | *      Author: crueger | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef SUBMENUITEM_HPP_ | 
|---|
|  | 9 | #define SUBMENUITEM_HPP_ | 
|---|
| [b59da6] | 10 |  | 
|---|
|  | 11 | #include "Menu/TextMenu/MenuItem.hpp" | 
|---|
|  | 12 |  | 
|---|
| [56f73b] | 13 | // include config.h | 
|---|
|  | 14 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 15 | #include <config.h> | 
|---|
|  | 16 | #endif | 
|---|
|  | 17 |  | 
|---|
| [b59da6] | 18 | #include <iosfwd> | 
|---|
|  | 19 |  | 
|---|
|  | 20 | class TxMenu; | 
|---|
|  | 21 |  | 
|---|
|  | 22 | class SubMenuItem : public MenuItem | 
|---|
|  | 23 | { | 
|---|
|  | 24 | public: | 
|---|
|  | 25 | SubMenuItem(char _trigger,const std::string &_description,TxMenu* const _parent, TxMenu* const _instance); | 
|---|
| [b2151f5] | 26 | ~SubMenuItem(); | 
|---|
| [b59da6] | 27 |  | 
|---|
|  | 28 | virtual void doTrigger(); | 
|---|
|  | 29 | private: | 
|---|
|  | 30 | TxMenu* theMenu; | 
|---|
|  | 31 | }; | 
|---|
|  | 32 |  | 
|---|
| [56f73b] | 33 | #endif /* SUBMENUITEM_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.