Baseline for testing
Menu.cpp@1:84d263c8932d, 2013-03-05 (annotated)
- Committer:
- pyeh9
- Date:
- Tue Mar 05 20:33:27 2013 +0000
- Revision:
- 1:84d263c8932d
- Parent:
- 0:577f0ec71f4c
- Child:
- 3:8395f7ab6d3e
second version - all necessary files in one folder;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pyeh9 | 0:577f0ec71f4c | 1 | #include "mbed.h" |
pyeh9 | 0:577f0ec71f4c | 2 | #include "Menu.h" |
pyeh9 | 0:577f0ec71f4c | 3 | #include "Selection.h" |
pyeh9 | 0:577f0ec71f4c | 4 | |
pyeh9 | 1:84d263c8932d | 5 | Menu::Menu(char *id) : menuID(id) |
pyeh9 | 0:577f0ec71f4c | 6 | { |
pyeh9 | 0:577f0ec71f4c | 7 | selections.clear(); |
pyeh9 | 0:577f0ec71f4c | 8 | } |
pyeh9 | 0:577f0ec71f4c | 9 | |
pyeh9 | 0:577f0ec71f4c | 10 | void Menu::add(const Selection &toAdd) |
pyeh9 | 0:577f0ec71f4c | 11 | { |
pyeh9 | 0:577f0ec71f4c | 12 | selections.push_back(toAdd); |
pyeh9 | 0:577f0ec71f4c | 13 | } |
pyeh9 | 0:577f0ec71f4c | 14 | |
pyeh9 | 0:577f0ec71f4c | 15 |