X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fcommandline%2Fcmdlineinit.h;h=f285e0b71013aeaa6bf00c6085327c705ad89cfd;hb=7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0;hp=e1fb961a358216638e5efb43201a4f160d9d80d9;hpb=9eb0581bed7c5147f8919ab19a7e2ed55e0e1514;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/commandline/cmdlineinit.h b/src/gromacs/commandline/cmdlineinit.h index e1fb961a35..f285e0b710 100644 --- a/src/gromacs/commandline/cmdlineinit.h +++ b/src/gromacs/commandline/cmdlineinit.h @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * 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. @@ -52,8 +52,8 @@ namespace gmx { -class CommandLineModuleInterface; -class CommandLineOptionsModuleInterface; +class ICommandLineModule; +class ICommandLineOptionsModule; /*! \brief * Initializes the \Gromacs library for command-line use. @@ -137,7 +137,7 @@ int processExceptionAtExitForCommandLine(const std::exception &ex); * Does not throw. All exceptions are caught and handled internally. */ int runCommandLineModule(int argc, char *argv[], - CommandLineModuleInterface *module); + ICommandLineModule *module); /*! \brief * Implements a main() method that runs a single module. * @@ -154,12 +154,12 @@ int runCommandLineModule(int argc, char *argv[], * * Usage: * \code - class CustomCommandLineOptionsModule : public CommandLineOptionsModuleInterface + class CustomCommandLineOptionsModule : public ICommandLineOptionsModule { // <...> }; - static CommandLineOptionsModuleInterface *create() + static ICommandLineOptionsModule *create() { return new CustomCommandLineOptionsModule(); } @@ -175,7 +175,7 @@ int runCommandLineModule(int argc, char *argv[], */ int runCommandLineModule(int argc, char *argv[], const char *name, const char *description, - CommandLineOptionsModuleInterface *(*factory)()); + ICommandLineOptionsModule *(*factory)()); } // namespace gmx