[openbeostranslationkit] BTranslationUtils

I have BTranslationsUtils::GetBitmap() and
BTranslationUtils::GetBitmapFile() implemented now.  However, I've found
some undocumented member functions of BTranslationUtils that I am unable
to implement right now because I don't know exactly how they are supposed
to behave. I'm going to try to figure out how they work based on how Be's
version of the class works, but if anyone knows anything about the
member functions listed below, please let me know as it would save a lot
of time.


static status_t GetStyledText(
                                BPositionIO * fromStream,
                                BTextView * intoView,
                                BTranslatorRoster * use = NULL);

static status_t PutStyledText(
                                BTextView * fromView,
                                BPositionIO * intoStream,
                                BTranslatorRoster * use = NULL);

static status_t WriteStyledEditFile(
                                BTextView * fromView,
                                BFile * intoFile);

static BMessage * GetDefaultSettings(
                                translator_id for_translator,
                                BTranslatorRoster * use = NULL);

static BMessage * GetDefaultSettings(
                                const char * translator_name,
                                int32 translator_version);
                enum {
                        B_TRANSLATION_MENU = 'BTMN'
                };

static status_t AddTranslationItems(
                                BMenu * intoMenu,
                                uint32 from_type,
                                const BMessage * model = NULL,
                                const char * translator_id_name = NULL,
                                const char * translator_type_name = NULL,
                                BTranslatorRoster * use = NULL);


Other related posts: