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.
Diff: Menu.cpp
- Revision:
- 0:577f0ec71f4c
- Child:
- 1:84d263c8932d
diff -r 000000000000 -r 577f0ec71f4c Menu.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Menu.cpp	Thu Feb 28 22:19:37 2013 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "Menu.h"
+#include "Selection.h"
+
+Menu::Menu()
+{
+    selections.clear();
+}
+
+void Menu::add(const Selection &toAdd)
+{
+    selections.push_back(toAdd);
+}
+
+