#ifndef DEFAULT_COMPONENT_H
#define DEFAULT_COMPONENT_H

#ifndef COMPONENT_H
#include "Component.h"
#endif

#ifndef OWN_H
#include "Own.h"
#endif

namespace MM
{

class Default_component : public Component
{
    Own <Model>         model_;
    Own <View>          view_;
    Own <Controller>    controller_;

public:    
    virtual void        set_model (Model * model);
    virtual void        set_view  (View  * view);
    virtual void        set_controller (Controller * controller);
    Component *         clone () const;
};

}//MM

#endif //DEFAULT_COMPONENT_H
