Introduce two TUI source window methods
[deliverable/binutils-gdb.git] / gdb / tui / tui-file.h
index aceaab6baba72e6577f3aed460c0d8158eebcca6..44d66b56d8173fd5d5e409ff84d2fd5728ded087 100644 (file)
@@ -1,5 +1,5 @@
 /* TUI_FILE - a STDIO-like output stream for the TUI.
-   Copyright (C) 1999-2017 Free Software Foundation, Inc.
+   Copyright (C) 1999-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -16,8 +16,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef TUI_FILE_H
-#define TUI_FILE_H
+#ifndef TUI_TUI_FILE_H
+#define TUI_TUI_FILE_H
 
 #include "ui-file.h"
 
@@ -28,8 +28,9 @@ class tui_file : public stdio_file
 public:
   explicit tui_file (FILE *stream);
 
-  void flush () override;
+  void write (const char *buf, long length_buf) override;
   void puts (const char *) override;
+  void flush () override;
 };
 
-#endif
+#endif /* TUI_TUI_FILE_H */
This page took 0.027345 seconds and 4 git commands to generate.