Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinehelpmodule.h
index a0eb12cc747a1bd68b3bc928b4c70ae36139d19f..6b6d33413c96d48793b412410bf31ef98ab8bc87 100644 (file)
 #ifndef GMX_COMMANDLINE_CMDLINEHELPMODULE_H
 #define GMX_COMMANDLINE_CMDLINEHELPMODULE_H
 
-#include "cmdlinemodule.h"
-#include "cmdlinemodulemanager-impl.h"
-
+#include "gromacs/commandline/cmdlinemodule.h"
 #include "gromacs/onlinehelp/helptopicinterface.h"
 #include "gromacs/utility/common.h"
 
+#include "cmdlinemodulemanager-impl.h"
+
 namespace gmx
 {
 
 class CommandLineHelpContext;
 class File;
-class Options;
 class ProgramContextInterface;
 
 class CommandLineHelpModuleImpl;
@@ -107,8 +106,6 @@ class CommandLineHelpModule : public CommandLineModuleInterface
         void addTopic(HelpTopicPointer topic);
         //! Sets whether hidden options will be shown in help.
         void setShowHidden(bool bHidden);
-        //! Sets the common options for the wrapper binary.
-        void setCommonOptions(const Options *options);
         /*! \brief
          * Sets an override to show the help for the given module.
          *
@@ -131,6 +128,10 @@ class CommandLineHelpModule : public CommandLineModuleInterface
             return "Print help information";
         }
 
+        virtual void init(CommandLineModuleSettings *settings)
+        {
+            settings->setDefaultNiceLevel(0);
+        }
         virtual int run(int argc, char *argv[]);
         virtual void writeHelp(const CommandLineHelpContext &context) const;