Last change
on this file since da09909 was da09909, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
Improved documentation for menu framework.
|
-
Property mode
set to
100644
|
File size:
503 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * StringView.hpp
|
---|
3 | *
|
---|
4 | * Created on: Dec 14, 2009
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef STRINGVIEW_HPP_
|
---|
9 | #define STRINGVIEW_HPP_
|
---|
10 |
|
---|
11 | #include <string>
|
---|
12 | #include "Views/View.hpp"
|
---|
13 |
|
---|
14 | using namespace std;
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * View to show something as a string
|
---|
18 | *
|
---|
19 | * This View is used by calling the toString method.
|
---|
20 | * This View does *not* use the observer pattern.
|
---|
21 | */
|
---|
22 | class StringView : public View
|
---|
23 | {
|
---|
24 | public:
|
---|
25 | StringView();
|
---|
26 | virtual ~StringView();
|
---|
27 |
|
---|
28 | virtual const string toString()=0;
|
---|
29 | };
|
---|
30 |
|
---|
31 | #endif /* STRINGVIEW_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.