Library of menu structure

Dependents:   lcd_menu

Committer:
pyeh9
Date:
Thu Feb 28 22:19:37 2013 +0000
Revision:
0:577f0ec71f4c
Child:
1:84d263c8932d
First commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pyeh9 0:577f0ec71f4c 1 #ifndef MENU_H
pyeh9 0:577f0ec71f4c 2 #define MENU_H
pyeh9 0:577f0ec71f4c 3
pyeh9 0:577f0ec71f4c 4 #include "mbed.h"
pyeh9 0:577f0ec71f4c 5 #include "Selection.h"
pyeh9 0:577f0ec71f4c 6 #include <vector>
pyeh9 0:577f0ec71f4c 7
pyeh9 0:577f0ec71f4c 8 class Menu {
pyeh9 0:577f0ec71f4c 9 private:
pyeh9 0:577f0ec71f4c 10
pyeh9 0:577f0ec71f4c 11 public:
pyeh9 0:577f0ec71f4c 12 vector<Selection> selections;
pyeh9 0:577f0ec71f4c 13 Menu();
pyeh9 0:577f0ec71f4c 14
pyeh9 0:577f0ec71f4c 15 void add(const Selection &toAdd);
pyeh9 0:577f0ec71f4c 16 char *getText(int);
pyeh9 0:577f0ec71f4c 17 };
pyeh9 0:577f0ec71f4c 18 #endif