4 errors

Dependencies:   KS0108_PCF8574 mbed

Committer:
GuiTwo
Date:
Tue Sep 11 10:21:10 2012 +0000
Revision:
3:ec80bb6ff5da
Parent:
0:936f1c020120
4 errors on vector .cc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GuiTwo 0:936f1c020120 1 #include "mbed.h"
GuiTwo 0:936f1c020120 2 #include "include/menbed.h"
GuiTwo 0:936f1c020120 3
GuiTwo 0:936f1c020120 4 Menbed::Menbed (PinName select, PinName down, PinName up, PinName cancel,
GuiTwo 0:936f1c020120 5 MenbedMenu *rootMenu,
GuiTwo 0:936f1c020120 6 MenbedDisplay *display)
GuiTwo 0:936f1c020120 7 {
GuiTwo 0:936f1c020120 8 MenbedButtonHandlerTimespec *timespec = new MenbedButtonHandlerTimespec();
GuiTwo 0:936f1c020120 9
GuiTwo 0:936f1c020120 10 displayer = new MenbedDisplayer (display);
GuiTwo 0:936f1c020120 11 navigator = new MenbedNavigator (rootMenu, displayer);
GuiTwo 0:936f1c020120 12 buttonHandler = new MenbedButtonHandler (select, down, up, cancel, timespec, navigator);
GuiTwo 0:936f1c020120 13 refresher = new MenbedRefresher (navigator);
GuiTwo 0:936f1c020120 14 }
GuiTwo 0:936f1c020120 15
GuiTwo 0:936f1c020120 16 Menbed::Menbed (PinName select, PinName down, PinName up,
GuiTwo 0:936f1c020120 17 MenbedMenu *rootMenu,
GuiTwo 0:936f1c020120 18 MenbedDisplay *display)
GuiTwo 0:936f1c020120 19 {
GuiTwo 0:936f1c020120 20 MenbedButtonHandlerTimespec *timespec = new MenbedButtonHandlerTimespec();
GuiTwo 0:936f1c020120 21
GuiTwo 0:936f1c020120 22 displayer = new MenbedDisplayer (display);
GuiTwo 0:936f1c020120 23 navigator = new MenbedNavigator (rootMenu, displayer);
GuiTwo 0:936f1c020120 24 buttonHandler = new MenbedButtonHandler (select, down, up, timespec, navigator);
GuiTwo 0:936f1c020120 25 refresher = new MenbedRefresher (navigator);
GuiTwo 0:936f1c020120 26 }
GuiTwo 0:936f1c020120 27
GuiTwo 0:936f1c020120 28 Menbed::Menbed (PinName select, PinName down,
GuiTwo 0:936f1c020120 29 MenbedMenu *rootMenu,
GuiTwo 0:936f1c020120 30 MenbedDisplay *display)
GuiTwo 0:936f1c020120 31 {
GuiTwo 0:936f1c020120 32 MenbedButtonHandlerTimespec *timespec = new MenbedButtonHandlerTimespec();
GuiTwo 0:936f1c020120 33
GuiTwo 0:936f1c020120 34 displayer = new MenbedDisplayer (display);
GuiTwo 0:936f1c020120 35 navigator = new MenbedNavigator (rootMenu, displayer);
GuiTwo 0:936f1c020120 36 buttonHandler = new MenbedButtonHandler (select, down, timespec, navigator);
GuiTwo 0:936f1c020120 37 refresher = new MenbedRefresher (navigator);
GuiTwo 0:936f1c020120 38 }
GuiTwo 0:936f1c020120 39
GuiTwo 0:936f1c020120 40 Menbed::Menbed(PinName select, PinName down, PinName up, PinName cancel,
GuiTwo 0:936f1c020120 41 MenbedButtonHandlerTimespec *timespec,
GuiTwo 0:936f1c020120 42 MenbedMenu *rootMenu,
GuiTwo 0:936f1c020120 43 MenbedDisplay *display)
GuiTwo 0:936f1c020120 44 {
GuiTwo 0:936f1c020120 45 displayer = new MenbedDisplayer (display);
GuiTwo 0:936f1c020120 46 navigator = new MenbedNavigator (rootMenu, displayer);
GuiTwo 0:936f1c020120 47 buttonHandler = new MenbedButtonHandler (select, down, up, cancel, timespec, navigator);
GuiTwo 0:936f1c020120 48 refresher = new MenbedRefresher (navigator);
GuiTwo 0:936f1c020120 49 }
GuiTwo 0:936f1c020120 50
GuiTwo 0:936f1c020120 51 Menbed::~Menbed()
GuiTwo 0:936f1c020120 52 {
GuiTwo 0:936f1c020120 53 delete refresher;
GuiTwo 0:936f1c020120 54 delete buttonHandler;
GuiTwo 0:936f1c020120 55 delete navigator;
GuiTwo 0:936f1c020120 56 delete displayer;
GuiTwo 0:936f1c020120 57 }