Make some unit tests use mock file output
[alexxy/gromacs.git] / src / gromacs / commandline / shellcompletions.h
index 88435475436e8a4951eaf6e893ebbfccb4f3b15b..f8f11906b6c09f3690baaa3eaf5ebd52c81397b1 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -53,8 +53,8 @@ namespace gmx
 {
 
 class CommandLineHelpContext;
-class File;
 class Options;
+class TextOutputStream;
 
 //! \cond internal
 //! \addtogroup module_commandline
@@ -78,7 +78,7 @@ class ShellCompletionWriter
                               ShellCompletionFormat  format);
         ~ShellCompletionWriter();
 
-        File *outputFile();
+        TextOutputStream &outputStream();
 
         void startCompletions();
         void writeModuleCompletions(const char    *moduleName,