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 #ifndef _MENBEDBUTTONEVENT_H_
GuiTwo 0:936f1c020120 2 #define _MENBEDBUTTONEVENT_H_
GuiTwo 0:936f1c020120 3
GuiTwo 0:936f1c020120 4 #include "mbed.h"
GuiTwo 0:936f1c020120 5
GuiTwo 0:936f1c020120 6 class MenbedButtonEvent {
GuiTwo 0:936f1c020120 7 public:
GuiTwo 0:936f1c020120 8 enum ButtonName {
GuiTwo 0:936f1c020120 9 ButtonSelect,
GuiTwo 0:936f1c020120 10 ButtonDown,
GuiTwo 0:936f1c020120 11 ButtonUp,
GuiTwo 0:936f1c020120 12 ButtonCancel };
GuiTwo 0:936f1c020120 13
GuiTwo 0:936f1c020120 14 enum ButtonAction {
GuiTwo 0:936f1c020120 15 BUTTON_ACTION_PUSHED,
GuiTwo 0:936f1c020120 16 BUTTON_ACTION_RELEASED_SHORT,
GuiTwo 0:936f1c020120 17 BUTTON_ACTION_RELEASED_LONG,
GuiTwo 0:936f1c020120 18 BUTTON_ACTION_HELD_LONG };
GuiTwo 0:936f1c020120 19
GuiTwo 0:936f1c020120 20 ButtonName name;
GuiTwo 0:936f1c020120 21 ButtonAction action;
GuiTwo 0:936f1c020120 22 uint8_t numButtons;
GuiTwo 0:936f1c020120 23 };
GuiTwo 0:936f1c020120 24
GuiTwo 0:936f1c020120 25 #endif /* _MENBEDBUTTONEVENT_H_ */