X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fcommandline%2Fcmdlineprogramcontext.h;h=11c237cd48daacbf6360f09beefdc9a90de89c0f;hb=7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0;hp=e08f3508958a9eb234680abd8f2c2e61ccba1734;hpb=9eb0581bed7c5147f8919ab19a7e2ed55e0e1514;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/commandline/cmdlineprogramcontext.h b/src/gromacs/commandline/cmdlineprogramcontext.h index e08f350895..11c237cd48 100644 --- a/src/gromacs/commandline/cmdlineprogramcontext.h +++ b/src/gromacs/commandline/cmdlineprogramcontext.h @@ -72,10 +72,10 @@ namespace gmx * * \inlibraryapi */ -class ExecutableEnvironmentInterface +class IExecutableEnvironment { public: - virtual ~ExecutableEnvironmentInterface() {} + virtual ~IExecutableEnvironment() {} /*! \brief * Returns the working directory when the program was launched. @@ -90,8 +90,8 @@ class ExecutableEnvironmentInterface virtual std::vector getExecutablePaths() const = 0; }; -//! Shorthand for a smart pointer to ExecutableEnvironmentInterface. -typedef boost::shared_ptr +//! Shorthand for a smart pointer to IExecutableEnvironment. +typedef boost::shared_ptr ExecutableEnvironmentPointer; /*! \libinternal \brief @@ -109,7 +109,7 @@ typedef boost::shared_ptr * * \inlibraryapi */ -class CommandLineProgramContext : public ProgramContextInterface +class CommandLineProgramContext : public IProgramContext { public: /*! \brief @@ -143,13 +143,13 @@ class CommandLineProgramContext : public ProgramContextInterface * \param[in] env Customizes the way the binary name is handled. * * This overload allows one to customize the way the binary is located - * by providing a custom ExecutableEnvironmentInterface implementation. + * by providing a custom IExecutableEnvironment implementation. * This is mainly useful for testing purposes to make it possible to * test different paths without setting environment variables, changing * the working directory or doing other process-wide operations. * It may also be useful for making Gromacs behave better when linked * into a non-Gromacs executable (with possible extensions in - * ExecutableEnvironmentInterface). + * IExecutableEnvironment). */ CommandLineProgramContext(int argc, const char *const argv[], ExecutableEnvironmentPointer env);