Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Menu.h@3:3c6551467d77, 2019-12-03 (annotated)
- Committer:
- austinterrell
- Date:
- Tue Dec 03 19:37:11 2019 +0000
- Revision:
- 3:3c6551467d77
- Parent:
- 1:84d263c8932d
Removed some unwanted debug code
Who changed what in which revision?
User | Revision | Line number | New 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 | 1:84d263c8932d | 8 | class Selection; |
pyeh9 | 1:84d263c8932d | 9 | |
pyeh9 | 0:577f0ec71f4c | 10 | class Menu { |
pyeh9 | 0:577f0ec71f4c | 11 | private: |
pyeh9 | 0:577f0ec71f4c | 12 | |
pyeh9 | 0:577f0ec71f4c | 13 | public: |
pyeh9 | 0:577f0ec71f4c | 14 | vector<Selection> selections; |
pyeh9 | 1:84d263c8932d | 15 | char *menuID; |
pyeh9 | 1:84d263c8932d | 16 | |
pyeh9 | 1:84d263c8932d | 17 | Menu(char *); |
pyeh9 | 0:577f0ec71f4c | 18 | |
pyeh9 | 0:577f0ec71f4c | 19 | void add(const Selection &toAdd); |
pyeh9 | 0:577f0ec71f4c | 20 | char *getText(int); |
pyeh9 | 0:577f0ec71f4c | 21 | }; |
pyeh9 | 0:577f0ec71f4c | 22 | #endif |