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