15ac11f96SAxel Dörfler /* 25ac11f96SAxel Dörfler * Copyright 2002-2006, Haiku, Inc. 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 145ac11f96SAxel Dörfler #include "DataTranslationsWindow.h" 155ac11f96SAxel Dörfler #include "DataTranslationsSettings.h" 165ac11f96SAxel Dörfler 17a10cf76eSAxel Dörfler #include <Application.h> 18a10cf76eSAxel Dörfler 19a10cf76eSAxel Dörfler 205ac11f96SAxel Dörfler class DataTranslationsApplication : public BApplication { 21a10cf76eSAxel Dörfler public: 22a10cf76eSAxel Dörfler DataTranslationsApplication(); 23a10cf76eSAxel Dörfler virtual ~DataTranslationsApplication(); 24a10cf76eSAxel Dörfler 25a10cf76eSAxel Dörfler virtual void RefsReceived(BMessage *message); 265ac11f96SAxel Dörfler virtual void AboutRequested(void); 275ac11f96SAxel Dörfler 28a10cf76eSAxel Dörfler BPoint WindowCorner() const {return fSettings->WindowCorner(); } 29a10cf76eSAxel Dörfler void SetWindowCorner(BPoint corner); 30a10cf76eSAxel Dörfler 31a10cf76eSAxel Dörfler private: 32*797de116SAxel Dörfler void _InstallError(const char* name, status_t status); 33*797de116SAxel Dörfler status_t _Install(BDirectory& target, BEntry& entry); 34*797de116SAxel Dörfler void _NoTranslatorError(const char* name); 35a10cf76eSAxel Dörfler 36a10cf76eSAxel Dörfler DataTranslationsSettings* fSettings; 37a10cf76eSAxel Dörfler }; 38a10cf76eSAxel Dörfler 395ac11f96SAxel Dörfler #endif // DATA_TRANSLATIONS_H 40