Mercurial > hg > svgui
comparison layer/Layer.h @ 502:73a58a4dfebd
* Add vestigial Activity Log
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2009 14:01:42 +0000 |
parents | 2ed4e572d0d4 |
children | 1c6439ef99d6 |
comparison
equal
deleted
inserted
replaced
501:08e1ccfe289c | 502:73a58a4dfebd |
---|---|
53 public: | 53 public: |
54 Layer(); | 54 Layer(); |
55 virtual ~Layer(); | 55 virtual ~Layer(); |
56 | 56 |
57 virtual const Model *getModel() const = 0; | 57 virtual const Model *getModel() const = 0; |
58 virtual Model *getModel() { | 58 Model *getModel() { |
59 return const_cast<Model *>(const_cast<const Layer *>(this)->getModel()); | 59 return const_cast<Model *>(const_cast<const Layer *>(this)->getModel()); |
60 } | 60 } |
61 | 61 |
62 /** | 62 /** |
63 * Return a zoom constraint object defining the supported zoom | 63 * Return a zoom constraint object defining the supported zoom |