1 // ContainerApplication.h 2 3 4 5 #if !defined(CONTAINER_APPLICATION_H) 6 #define CONTAINER_APPLICATION_H 7 8 #include <unistd.h> 9 #include <string.h> 10 #include <stdlib.h> 11 #include <File.h> 12 #include <iostream.h> 13 14 15 #include <Path.h> 16 #include <Entry.h> 17 #include <FindDirectory.h> 18 #include <Application.h> 19 20 #include "ContainerWindow.h" 21 #include "IEApplication.h" 22 23 IEResourceHandler *resourcehandler; 24 25 class ContainerApplication : public IEApplication 26 { 27 public: 28 ContainerApplication(); 29 ~ContainerApplication(); 30 31 virtual void MessageReceived (BMessage *msg); 32 virtual void ReadyToRun(void); 33 BEntry *archive_file(bool create = TRUE); 34 35 private: 36 BMessenger fMsgnr; 37 BFile *fStream; 38 bool fRemove; 39 bool fTest; 40 ContainerWindow *fContainerWindow; 41 42 }; 43 44 #endif 45