X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fcommandline%2Fcmdlinehelpmodule.h;h=73cc444360a70b2e3db4e04bf1a53c2bfb1eee74;hb=7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0;hp=87214a2c0192fdef74fc7d029e34aa27cf7e868f;hpb=9eb0581bed7c5147f8919ab19a7e2ed55e0e1514;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/commandline/cmdlinehelpmodule.h b/src/gromacs/commandline/cmdlinehelpmodule.h index 87214a2c01..73cc444360 100644 --- a/src/gromacs/commandline/cmdlinehelpmodule.h +++ b/src/gromacs/commandline/cmdlinehelpmodule.h @@ -43,7 +43,7 @@ #define GMX_COMMANDLINE_CMDLINEHELPMODULE_H #include "gromacs/commandline/cmdlinemodule.h" -#include "gromacs/onlinehelp/helptopicinterface.h" +#include "gromacs/onlinehelp/ihelptopic.h" #include "gromacs/utility/classhelpers.h" #include "cmdlinemodulemanager-impl.h" @@ -52,8 +52,8 @@ namespace gmx { class CommandLineHelpContext; -class FileOutputRedirectorInterface; -class ProgramContextInterface; +class IFileOutputRedirector; +class IProgramContext; class CommandLineHelpModuleImpl; @@ -66,7 +66,7 @@ class CommandLineHelpModuleImpl; * * \ingroup module_commandline */ -class CommandLineHelpModule : public CommandLineModuleInterface +class CommandLineHelpModule : public ICommandLineModule { public: /*! \brief @@ -79,7 +79,7 @@ class CommandLineHelpModule : public CommandLineModuleInterface * \param[in] groups List of module groups. * \throws std::bad_alloc if out of memory. */ - CommandLineHelpModule(const ProgramContextInterface &programContext, + CommandLineHelpModule(const IProgramContext &programContext, const std::string &binaryName, const CommandLineModuleMap &modules, const CommandLineModuleGroupList &groups); @@ -96,7 +96,7 @@ class CommandLineHelpModule : public CommandLineModuleInterface * safety in CommandLineModuleManager::addModule(). */ HelpTopicPointer - createModuleHelpTopic(const CommandLineModuleInterface &module) const; + createModuleHelpTopic(const ICommandLineModule &module) const; /*! \brief * Adds a top-level help topic. * @@ -114,7 +114,7 @@ class CommandLineHelpModule : public CommandLineModuleInterface * If called, the help module directly prints the help for the given * module when called, skipping any other processing. */ - void setModuleOverride(const CommandLineModuleInterface &module); + void setModuleOverride(const ICommandLineModule &module); /*! \brief * Sets a file redirector for writing help output. @@ -122,7 +122,7 @@ class CommandLineHelpModule : public CommandLineModuleInterface * Used for unit testing; see * CommandLineModuleManager::setOutputRedirector() for more details. */ - void setOutputRedirector(FileOutputRedirectorInterface *output); + void setOutputRedirector(IFileOutputRedirector *output); virtual const char *name() const { return "help"; } virtual const char *shortDescription() const