|
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:
351 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 | class StringView : public View
|
|---|
| 17 | {
|
|---|
| 18 | public:
|
|---|
| 19 | StringView();
|
|---|
| 20 | virtual ~StringView();
|
|---|
| 21 |
|
|---|
| 22 | virtual const string toString()=0;
|
|---|
| 23 | };
|
|---|
| 24 |
|
|---|
| 25 | #endif /* STRINGVIEW_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.