15ac11f96SAxel Dörfler /* 2887d9b8bSKarsten Heimrich * Copyright 2002-2010, Haiku Inc. All rights reserved. 35ac11f96SAxel Dörfler * Distributed under the terms of the MIT license. 45ac11f96SAxel Dörfler * 55ac11f96SAxel Dörfler * Authors: 65ac11f96SAxel Dörfler * Oliver Siebenmarck 75ac11f96SAxel Dörfler * Andrew McCall, mccall@digitalparadise.co.uk 85ac11f96SAxel Dörfler * Michael Wilber 95ac11f96SAxel Dörfler */ 10a10cf76eSAxel Dörfler #ifndef DATA_TRANSLATIONS_H 11a10cf76eSAxel Dörfler #define DATA_TRANSLATIONS_H 12a10cf76eSAxel Dörfler 135ac11f96SAxel Dörfler 14a10cf76eSAxel Dörfler #include <Application.h> 15*bfb8680fSJonas Sundström #include <Directory.h> 16*bfb8680fSJonas Sundström #include <Entry.h> 17a10cf76eSAxel Dörfler 18f4265833SJonas Sundström 195ac11f96SAxel Dörfler class DataTranslationsApplication : public BApplication { 20a10cf76eSAxel Dörfler public: 21a10cf76eSAxel Dörfler DataTranslationsApplication(); 22a10cf76eSAxel Dörfler virtual ~DataTranslationsApplication(); 23a10cf76eSAxel Dörfler 24a10cf76eSAxel Dörfler virtual void RefsReceived(BMessage* message); 255ac11f96SAxel Dörfler 26a10cf76eSAxel Dörfler private: 27797de116SAxel Dörfler void _InstallError(const char* name, status_t status); 28797de116SAxel Dörfler status_t _Install(BDirectory& target, BEntry& entry); 29797de116SAxel Dörfler void _NoTranslatorError(const char* name); 30a10cf76eSAxel Dörfler }; 31a10cf76eSAxel Dörfler 32f4265833SJonas Sundström 335ac11f96SAxel Dörfler #endif // DATA_TRANSLATIONS_H 34