source: molecuilder/src/Menu/DisplayMenuItem.hpp@ df55a0

Last change on this file since df55a0 was df55a0, checked in by Frederik Heber <heber@…>, 16 years ago

Added basic View functionality. - Added DisplayMenuItem to show certain types of Views - Added Views to make StringViews from methods producing strings and from methods taking streams Signed-off-by: Tillmann Crueger <crueger@…>

  • Property mode set to 100644
File size: 539 bytes
RevLine 
[df55a0]1/*
2 * DisplayMenuItem.hpp
3 *
4 * Created on: Dec 14, 2009
5 * Author: crueger
6 */
7
8#ifndef DISPLAYMENUITEM_HPP_
9#define DISPLAYMENUITEM_HPP_
10
11#include "Menu/MenuItem.hpp"
12
13class StringView;
14
15class DisplayMenuItem : public MenuItem
16{
17public:
18 DisplayMenuItem(Menu* _menu, StringView *_view);
19 virtual ~DisplayMenuItem();
20
21 virtual void doTrigger();
22 virtual void checkTrigger(char);
23
24 virtual const string formatEntry();
25
26 virtual const string getDescription();
27
28private:
29 StringView *view;
30};
31
32#endif /* DISPLAYMENUITEM_HPP_ */
Note: See TracBrowser for help on using the repository browser.