File: ui_gpsim.h

package info (click to toggle)
gpsim 0.32.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,640 kB
  • sloc: cpp: 121,258; asm: 54,223; ansic: 13,576; python: 9,708; sh: 4,695; makefile: 1,566; lex: 1,139; yacc: 854; pascal: 511; perl: 93; awk: 44; xml: 41
file content (26 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#ifndef CLI_UI_GPSIM_H_
#define CLI_UI_GPSIM_H_

#include <stdarg.h>
#include <stdio.h>
#include "../src/ui.h"

class CGpsimConsole : public ISimConsole {
public:
  CGpsimConsole();
  void Printf(const char *fmt, ...) override;
  void VPrintf(const char *fmt, va_list argptr) override;
  void Puts(const char*) override;
  void Putc(const char) override;
  const char *Gets(char *, int) override;

  void SetOut(FILE *pOut);
  void SetIn(FILE *pIn);

protected:
  FILE *m_pfOut;
  FILE *m_pfIn;
};

#endif