X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fonlinehelp%2Fhelpwritercontext.cpp;h=020d12fdfb8321db4658d7f41be586e89b5699bb;hb=7a6907d2184cf7bf3ce09e83e9d902f9787a3eb0;hp=07d2f29401e29023d20f6f9fa5e25662cfcac391;hpb=9eb0581bed7c5147f8919ab19a7e2ed55e0e1514;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/onlinehelp/helpwritercontext.cpp b/src/gromacs/onlinehelp/helpwritercontext.cpp index 07d2f29401..020d12fdfb 100644 --- a/src/gromacs/onlinehelp/helpwritercontext.cpp +++ b/src/gromacs/onlinehelp/helpwritercontext.cpp @@ -215,10 +215,10 @@ std::string repall(const std::string &s, const t_sandr (&sa)[nsr]) * Provides an interface that is used to implement different types of output * from HelpWriterContext::Impl::processMarkup(). */ -class WrapperInterface +class IWrapper { public: - virtual ~WrapperInterface() {} + virtual ~IWrapper() {} /*! \brief * Provides the wrapping settings. @@ -235,7 +235,7 @@ class WrapperInterface /*! \brief * Wraps markup output into a single string. */ -class WrapperToString : public WrapperInterface +class WrapperToString : public IWrapper { public: //! Creates a wrapper with the given settings. @@ -263,7 +263,7 @@ class WrapperToString : public WrapperInterface /*! \brief * Wraps markup output into a vector of string (one line per element). */ -class WrapperToVector : public WrapperInterface +class WrapperToVector : public IWrapper { public: //! Creates a wrapper with the given settings. @@ -520,7 +520,7 @@ class HelpWriterContext::Impl * or providing an interface for the caller to retrieve the output. */ void processMarkup(const std::string &text, - WrapperInterface *wrapper) const; + IWrapper *wrapper) const; //! Constant state shared by all child context objects. StatePointer state_; @@ -549,7 +549,7 @@ std::string HelpWriterContext::Impl::replaceLinks(const std::string &input) cons } void HelpWriterContext::Impl::processMarkup(const std::string &text, - WrapperInterface *wrapper) const + IWrapper *wrapper) const { std::string result(text); for (ReplaceList::const_iterator i = replacements_.begin();