diff options
author | neoraider <devnull@localhost> | 2008-04-14 00:10:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-14 00:10:04 +0200 |
commit | 36d1bb8999ecfe305319c0f2b4313a169a368c13 (patch) | |
tree | f1cc3e3f4572c0140aa9e5ae319f8f7db7cbffff /src/View/View.h | |
parent | 184c6305a677d968e60eb6cba9b29dd840cdce3c (diff) | |
download | zoomedit-36d1bb8999ecfe305319c0f2b4313a169a368c13.tar zoomedit-36d1bb8999ecfe305319c0f2b4313a169a368c13.zip |
zoomedit:
* Changed CPPFLAGS and LIBS handling
* Added cross and dot product to Vector class
* Added View classes
Diffstat (limited to 'src/View/View.h')
-rw-r--r-- | src/View/View.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/View/View.h b/src/View/View.h new file mode 100644 index 0000000..c7755f2 --- /dev/null +++ b/src/View/View.h @@ -0,0 +1,48 @@ +/* + * View.h + * + * Copyright (C) 2008 Matthias Schiffer <matthias@gamezock.de> + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ZOOMEDIT_VIEW_H_ +#define ZOOMEDIT_VIEW_H_ + +namespace ZoomEdit { + +namespace Data { +class Level; +} + +namespace View { + +class View { + protected: + Data::Level *level; + + public: + View(Data::Level *level0) : level(level0) {} + virtual ~View() {} + + virtual Data::Level* getLevel() {return level;} + virtual void setLevel(Data::Level *level0) {level = level0;} + + virtual void render() = 0; +}; + +} +} + +#endif /*ZOOMEDIT_RENDERER_H_*/ |