1 
2 #ifndef CLI_UI_GPSIM_H_
3 #define CLI_UI_GPSIM_H_
4 
5 #include <stdarg.h>
6 #include <stdio.h>
7 #include "../src/cmd_gpsim.h"
8 #include "../src/ui.h"
9 
10 class CGpsimConsole : public ISimConsole {
11 public:
12   CGpsimConsole();
13   void Printf(const char *fmt, ...);
14   void VPrintf(const char *fmt, va_list argptr);
15   void Puts(const char*);
16   void Putc(const char);
17   const char *Gets(char *, int);
18 
19   void SetOut(FILE *pOut);
20   void SetIn(FILE *pIn);
21 
22 protected:
23   FILE *m_pfOut;
24   FILE *m_pfIn;
25 };
26 
27 #endif
28