View.h 191 B

123456789101112131415
  1. #pragma once
  2. class Model;
  3. class View
  4. {
  5. protected:
  6. int ref;
  7. public:
  8. View();
  9. virtual void update( Model *m ) = 0;
  10. virtual View *getThis();
  11. virtual View *release() = 0;
  12. };