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.cpp@0:577f0ec71f4c, 2013-02-28 (annotated)
- 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?
| 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 | 0:577f0ec71f4c | 5 | Menu::Menu() |
| 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 |