Refactor md_enums
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / topio.h
index f39c8ec2f0fe17a100ac8deef983120655ca5dd6..96ee43e1e3c9c6dcfa9e3dc6ffdf1d7fa4bcb836 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2012,2014,2015,2016,2018 by the GROMACS development team.
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, 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.
@@ -54,6 +54,7 @@ struct InteractionsOfType;
 struct t_symtab;
 struct warninp;
 typedef warninp* warninp_t;
+enum class CombinationRule : int;
 
 namespace gmx
 {
@@ -72,7 +73,7 @@ char** do_top(bool                                  bVerbose,
               bool                                  bZero,
               t_symtab*                             symtab,
               gmx::ArrayRef<InteractionsOfType>     plist,
-              int*                                  combination_rule,
+              CombinationRule*                      combination_rule,
               double*                               repulsion_power,
               real*                                 fudgeQQ,
               PreprocessingAtomTypes*               atype,