Searched refs:translators (Results 1 - 5 of 5) sorted by relevance

/haiku-fatelf/src/tests/kits/translation/
H A DTranslatorRosterTest.cpp180 // Make sure the correct number of translators were loaded
188 // Make sure the correct translators were loaded
250 // TODO: actually check if all the right translators are loaded
268 // TODO: actually check if all the right translators are loaded
336 // BMessage is valid, but does not contain any translators
388 // ensure that they have the same translators and the
389 // same number of translators
454 translator_id* translators = NULL; local
455 proster->GetAllTranslators(&translators, &instcount);
456 CPPUNIT_ASSERT(translators);
615 translator_id* translators = NULL; local
652 translator_id* translators = NULL; local
726 translator_id* translators = NULL; local
924 translator_id *translators = NULL; local
[all...]
/haiku-fatelf/src/apps/screenshot/
H A DUtility.cpp214 translator_id* translators = NULL; local
217 status_t status = roster->GetAllTranslators(&translators, &numTranslators);
225 if (roster->GetOutputFormats(translators[x], &formats, &numFormats)
229 delete [] translators;
235 delete [] translators;
H A DScreenshotWindow.cpp639 translator_id* translators = NULL; local
641 if (roster->GetAllTranslators(&translators, &numTranslators) != B_OK)
647 if (roster->GetOutputFormats(translators[x], &formats,
651 translator = translators[x];
660 delete [] translators;
/haiku-fatelf/src/preferences/datatranslations/
H A DDataTranslationsWindow.cpp81 // Reads the installed translators and adds them to our BListView
87 // Get all Translators on the system. Gives us the number of translators
90 translator_id* translators = NULL; local
91 roster->GetAllTranslators(&translators, &numTranslators);
98 roster->GetTranslatorInfo(translators[i], &name, &info, &version);
99 fTranslatorListView->AddItem(new TranslatorItem(translators[i], name));
102 delete[] translators;
178 "Use this control panel to set default values for translators, "
198 // Add the translators list view
220 // Populate the translators lis
[all...]
/haiku-fatelf/src/kits/translation/
H A DTranslationUtils.cpp809 translator_id *translators = NULL; local
812 || roster->GetAllTranslators(&translators, &numTranslators) != B_OK)
815 // Cycle through all of the default translators
823 if (roster->GetTranslatorInfo(translators[i], &currentTranName,
828 pMessage = GetDefaultSettings(translators[i], roster);
834 delete[] translators;
855 // fromType, the type of translators to put on
864 // roster, BTranslatorRoster used to find translators
865 // if NULL, the default translators are used

Completed in 74 milliseconds