1*a10cf76eSAxel Dörfler #ifndef DATA_TRANSLATIONS_H 2*a10cf76eSAxel Dörfler #define DATA_TRANSLATIONS_H 3*a10cf76eSAxel Dörfler 4*a10cf76eSAxel Dörfler #include <Application.h> 5*a10cf76eSAxel Dörfler #include <String.h> 6*a10cf76eSAxel Dörfler #include <Alert.h> 7*a10cf76eSAxel Dörfler 8*a10cf76eSAxel Dörfler #include <stdlib.h> 9*a10cf76eSAxel Dörfler 10*a10cf76eSAxel Dörfler #include "DataTranslationsWindow.h" 11*a10cf76eSAxel Dörfler #include "DataTranslationsView.h" 12*a10cf76eSAxel Dörfler #include "DataTranslationsSettings.h" 13*a10cf76eSAxel Dörfler 14*a10cf76eSAxel Dörfler class DataTranslationsApplication : public BApplication 15*a10cf76eSAxel Dörfler { 16*a10cf76eSAxel Dörfler public: 17*a10cf76eSAxel Dörfler DataTranslationsApplication(); 18*a10cf76eSAxel Dörfler virtual ~DataTranslationsApplication(); 19*a10cf76eSAxel Dörfler 20*a10cf76eSAxel Dörfler // void MessageReceived(BMessage *message); 21*a10cf76eSAxel Dörfler virtual void RefsReceived(BMessage *message); 22*a10cf76eSAxel Dörfler BPoint WindowCorner() const {return fSettings->WindowCorner(); } 23*a10cf76eSAxel Dörfler void SetWindowCorner(BPoint corner); 24*a10cf76eSAxel Dörfler 25*a10cf76eSAxel Dörfler void AboutRequested(void); 26*a10cf76eSAxel Dörfler 27*a10cf76eSAxel Dörfler private: 28*a10cf76eSAxel Dörfler void Install_Done(); 29*a10cf76eSAxel Dörfler 30*a10cf76eSAxel Dörfler static const char kDataTranslationsApplicationSig[]; 31*a10cf76eSAxel Dörfler 32*a10cf76eSAxel Dörfler DataTranslationsSettings *fSettings; 33*a10cf76eSAxel Dörfler 34*a10cf76eSAxel Dörfler // Tell User our installation is done 35*a10cf76eSAxel Dörfler void no_trans(char item_name[B_FILE_NAME_LENGTH]); 36*a10cf76eSAxel Dörfler // Tell User he didn´t drop a translator 37*a10cf76eSAxel Dörfler bool overwrite, moveit; 38*a10cf76eSAxel Dörfler BString string; 39*a10cf76eSAxel Dörfler }; 40*a10cf76eSAxel Dörfler 41*a10cf76eSAxel Dörfler #endif 42