diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-11 19:20:29 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-11-11 19:20:29 (GMT) |
commit | 613b33d7ce00236865f41d77e4e39b37dcbef17b (patch) | |
tree | 7d80c173dcecb625806ece76ccd2210dca925e13 /src/translator_adapter.h | |
parent | a29cfb7d102b893c56c1342fc738b788fc4885cf (diff) | |
download | Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.zip Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.gz Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.bz2 |
Release-1.2.11-20011111
Diffstat (limited to 'src/translator_adapter.h')
-rw-r--r-- | src/translator_adapter.h | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/src/translator_adapter.h b/src/translator_adapter.h index 1b9a7d6..136cc75 100644 --- a/src/translator_adapter.h +++ b/src/translator_adapter.h @@ -5,10 +5,12 @@ /*! \brief Base of the translator adapter tree * - * This class provides access to the english translations, to be used - * as a substitute for not implemented local translations. + + * This abstract class provides access to the english + * translations, to be used as a substitute for not implemented + * local translations. */ -class TranslatorAdapterCVS : public Translator +class TranslatorAdapterBase : public Translator { protected: TranslatorEnglish english; @@ -27,35 +29,17 @@ class TranslatorAdapterCVS : public Translator } public: - /*! A method to generate a warning message to signal the user - * that the translation of his/her language of choice needs - * updating. + /*! This method is used to generate a warning message to signal + * the user that the translation of his/her language of choice + * needs updating. It must be implemented by the translator + * adapter class (pure virtual). + * + * \sa createUpdateNeededMessage() */ - virtual QCString updateNeededMessage() - { - QCString vs("CVS release "); - vs += versionString; // the one from the version.cpp - return createUpdateNeededMessage(idLanguage(), vs); - } -//----------------------------------------------------------------------- -// The things below this line should go to the new -// TranslatorAdapter_1_2_x, as public methods. The things above -// should stay in TranslatorAdapterCVS and need not to be touched. -// The first five lines below should be uncommented, and the -// release number at the fifth of those lines should be set. - -// class TranslatorAdapter_1_2_x : public TranslatorAdapterCVS -// { -// public: -// virtual QCString updateNeededMessage() -// { return createUpdateNeededMessage(idLanguage(),"release 1.2.x"); } - - // Put new adapter methods below... - // - + virtual QCString updateNeededMessage() = 0; }; -class TranslatorAdapter_1_2_11 : public TranslatorAdapterCVS +class TranslatorAdapter_1_2_11 : public TranslatorAdapterBase { public: virtual QCString updateNeededMessage() |