
#ifndef _menudrv_h_
#define _menudrv_h_

#include "ui/menu.h"

class MenuDriver {

public:
    MenuDriver (UI_CompositeVObject* root);
    ~MenuDriver () {}; // Needed because Object's destructor is pure virtual
    
    bool Inform       (UI_Event&, UI_ViewID);
    bool Add          (UI_Event&, UI_ViewID);
    bool Remove       (UI_Event&, UI_ViewID);
    bool Change       (UI_Event&, UI_ViewID);
    bool DisableMonth (UI_Event&, UI_ViewID);
    bool DisableDays  (UI_Event&, UI_ViewID);
    bool Quit         (UI_Event&, UI_ViewID);
    
protected:
    UI_Menu* _menu;
    bool     _daysEnabled;
};

#endif

