12345678910111213141516171819202122 |
- #include "View.h"
- using namespace Framework;
- View::View()
- : ReferenceCounter()
- {}
- View::~View()
- {}
- ActionView::ActionView( std::function< void( Model * ) > f )
- : View()
- {
- this->f = f;
- }
- void ActionView::update( Model *m )
- {
- f( m );
- }
|