A Command Interpreter with support for used defined commands, subsystems, macros, help and parameter parsing.

Revision:
13:c18957fb06e4
Parent:
9:dc9faec79298
Child:
14:c652ce068f6c
--- a/cmdb.cpp	Fri Feb 11 12:30:34 2011 +0000
+++ b/cmdb.cpp	Fri Feb 11 12:44:54 2011 +0000
@@ -51,7 +51,7 @@
 
     subsystem = -1;
 
-    callback = callback;
+    user_callback = callback;
 
     init(true);
 }
@@ -742,7 +742,7 @@
 
                     default : {
                         // Do a Call to the Application's Command Dispatcher.
-                        (*callback)(*this, cid);
+                        (*user_callback)(*this, cid);
                     }
                 }
             } else {