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

Revision:
28:7ba0b6819aa7
Parent:
26:34c65d3f6da0
--- a/cmdb.cpp	Wed Feb 15 09:50:53 2012 +0000
+++ b/cmdb.cpp	Tue Jan 18 18:55:42 2022 +0000
@@ -57,7 +57,7 @@
 
 #include <vector>
 #include <stdlib.h>
-#include <stdio.h>
+//#include <stdio.h>
 #include <stdarg.h>
 #include <ctype.h>
 #include <string.h>
@@ -67,7 +67,7 @@
 
 //------------------------------------------------------------------------------
 
-Cmdb::Cmdb(const Serial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int)) :
+Cmdb::Cmdb(const RawSerial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int)) :
         serial(_serial), cmds(_cmds) {
     echo = true;
     bold = true;