1 #ifndef _ZIPOMATIC_H_ 2 #define _ZIPOMATIC_H_ 3 4 5 #include <Application.h> 6 #include <Catalog.h> 7 #include <Invoker.h> 8 #include <Locale.h> 9 #include <Message.h> 10 11 12 class ZipOMatic : public BApplication 13 { 14 public: 15 ZipOMatic(); 16 ~ZipOMatic(); 17 18 virtual void ReadyToRun(); 19 virtual void RefsReceived(BMessage* message); 20 virtual void MessageReceived(BMessage* message); 21 virtual bool QuitRequested(); 22 23 private: 24 void _SilentRelaunch(); 25 void _UseExistingOrCreateNewWindow(BMessage* 26 message = NULL); 27 void _StopZipping(); 28 29 bool fGotRefs; 30 BInvoker* fInvoker; 31 }; 32 33 #endif // _ZIPOMATIC_H_ 34 35