1 /* 2 * Copyright 2002-2010, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Oliver Siebenmarck 7 * Andrew McCall, mccall@digitalparadise.co.uk 8 * Michael Wilber 9 */ 10 #ifndef DATA_TRANSLATIONS_H 11 #define DATA_TRANSLATIONS_H 12 13 14 #include <Application.h> 15 #include <Directory.h> 16 #include <Entry.h> 17 18 19 class DataTranslationsApplication : public BApplication { 20 public: 21 DataTranslationsApplication(); 22 virtual ~DataTranslationsApplication(); 23 24 virtual void RefsReceived(BMessage* message); 25 26 private: 27 void _InstallError(const char* name, status_t status); 28 status_t _Install(BDirectory& target, BEntry& entry); 29 void _NoTranslatorError(const char* name); 30 }; 31 32 33 #endif // DATA_TRANSLATIONS_H 34