renamed R4xTranslator.h to FuncTranslator.h

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2407 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2003-01-11 13:51:18 +00:00
parent d7e25ddc2b
commit 0ac173e420

View File

@ -1,16 +1,17 @@
/*****************************************************************************/ /*****************************************************************************/
// File: R4xTranslator.h // File: FuncTranslator.h
// Class: BR4xTranslator // Class: BFuncTranslator
// Author: Michael Wilber, Translation Kit Team // Author: Michael Wilber, Translation Kit Team
// Originally Created: 2002-06-11 // Originally Created: 2002-06-11
// //
// Description: This header file contains the BTranslator based object for // Description: This header file contains the BTranslator based object for
// BeOS R4.0 and R4.5 type translators, aka, the translators // function based translators, aka, the translators
// that don't use the make_nth_translator() mechanism. // that don't use the make_nth_translator() mechanism.
// //
// This class is used by the OpenBeOS BTranslatorRoster // This class is used by the OpenBeOS BTranslatorRoster
// so that R4x translators, post R4.5 translators and private // so that function based translators, make_nth_translator()
// BTranslator objects could be accessed in the same way. // translators and private BTranslator objects could be
// accessed in the same way.
// //
// //
// Copyright (c) 2002 OpenBeOS Project // Copyright (c) 2002 OpenBeOS Project
@ -34,16 +35,16 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
/*****************************************************************************/ /*****************************************************************************/
#ifndef _R4X_TRANSLATOR_H #ifndef _FUNC_TRANSLATOR_H
#define _R4X_TRANSLATOR_H #define _FUNC_TRANSLATOR_H
#include <Translator.h> #include <Translator.h>
#include <image.h> #include <image.h>
#include <TranslationDefs.h> #include <TranslationDefs.h>
class BR4xTranslator : public BTranslator { class BFuncTranslator : public BTranslator {
public: public:
BR4xTranslator(const translator_data *kpData); BFuncTranslator(const translator_data *kpData);
// assigns the translator to the object // assigns the translator to the object
virtual const char *TranslatorName() const; virtual const char *TranslatorName() const;
@ -84,7 +85,7 @@ public:
// (not required to be in all translators) // (not required to be in all translators)
protected: protected:
virtual ~BR4xTranslator(); virtual ~BFuncTranslator();
// This object is deleted by calling Release(), // This object is deleted by calling Release(),
// it can not be deleted directly. See BTranslator in the Be Book // it can not be deleted directly. See BTranslator in the Be Book
@ -95,4 +96,4 @@ private:
// use to do all of the actual work for this class. // use to do all of the actual work for this class.
}; };
#endif // _R4X_TRANSLATOR_H #endif // _FUNC_TRANSLATOR_H