#ifndef COUNTER_H_ #define COUNTER_H_ #include "model.h" class counter : public model { public: counter (); // create and initialize void reset (); void increment(); void decrement(); int value (); // this is how the view will get the value private: int my_value; }; #endif