|
Last change
on this file since e65cc0 was 98a2987, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
|
Added -Wall flag and fixed several small hickups
|
-
Property mode
set to
100644
|
|
File size:
486 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 | /**
|
|---|
| 15 | * View to show something as a string
|
|---|
| 16 | *
|
|---|
| 17 | * This View is used by calling the toString method.
|
|---|
| 18 | * This View does *not* use the observer pattern.
|
|---|
| 19 | */
|
|---|
| 20 | class StringView : public View
|
|---|
| 21 | {
|
|---|
| 22 | public:
|
|---|
| 23 | StringView();
|
|---|
| 24 | virtual ~StringView();
|
|---|
| 25 |
|
|---|
| 26 | virtual const std::string toString()=0;
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | #endif /* STRINGVIEW_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.