Library of menu structure

Dependents:   lcd_menu

Revision:
1:84d263c8932d
Parent:
0:577f0ec71f4c
Child:
2:2654dc659298
--- a/Selection.h	Thu Feb 28 22:19:37 2013 +0000
+++ b/Selection.h	Tue Mar 05 20:33:27 2013 +0000
@@ -1,6 +1,10 @@
 #ifndef SELECTION_H
 #define SELECTION_H
 
+#include "Menu.h"
+
+class Menu; 
+
 class Selection {
     private:
         
@@ -8,8 +12,9 @@
         void (*fun)(); // pointer to a function to execute 
         char* selText; // selection text
         int pos; // selection position
+        Menu *childMenu; 
         
-        Selection(void (*)(), int, char *); 
+        Selection(void (*)(), int, Menu *, char *); 
         
         //debug functions 
 };