Move types/topology.h to topology/
[alexxy/gromacs.git] / src / gromacs / fileio / trxio.h
index 6953e50883c3502e392157bd56cd6157129bdbbf..3f7305984c6d19e9e779a4421ad1366d6dfc09c6 100644 (file)
@@ -38,7 +38,6 @@
 #ifndef GMX_FILEIO_TRXIO_H
 #define GMX_FILEIO_TRXIO_H
 
-#include "../legacyheaders/types/topology.h"
 #include "../legacyheaders/readinp.h"
 #include "../legacyheaders/oenv.h"
 
@@ -53,6 +52,7 @@ extern "C" {
 }
 #endif
 
+struct gmx_mtop_t;
 struct t_atoms;
 
 /* a dedicated status type contains fp, etc. */
@@ -105,15 +105,15 @@ int write_trx(t_trxstatus *status, int nind, const atom_id *ind, struct t_atoms
  * atoms can be NULL for file types which don't need atom names.
  */
 
-void trjtools_gmx_prepare_tng_writing(const char       *filename,
-                                      char              filemode,
-                                      t_trxstatus      *in,
-                                      t_trxstatus     **out,
-                                      const char       *infile,
-                                      const int         natoms,
-                                      const gmx_mtop_t *mtop,
-                                      const atom_id    *index,
-                                      const char       *index_group_name);
+void trjtools_gmx_prepare_tng_writing(const char               *filename,
+                                      char                      filemode,
+                                      t_trxstatus              *in,
+                                      t_trxstatus             **out,
+                                      const char               *infile,
+                                      const int                 natoms,
+                                      const struct gmx_mtop_t  *mtop,
+                                      const atom_id            *index,
+                                      const char               *index_group_name);
 /* Sets up *out for writing TNG. If *in != NULL and contains a TNG trajectory
  * some data, e.g. molecule system, will be copied over from *in to *out.
  * If *in == NULL a file name (infile) of a TNG file can be provided instead