1*eaf0a567SAugustin Cavalier /* 2*eaf0a567SAugustin Cavalier * Copyright (c) 2007-2009, Haiku, Inc. All rights reserved. 3*eaf0a567SAugustin Cavalier * Distributed under the terms of the MIT license. 4*eaf0a567SAugustin Cavalier * 5*eaf0a567SAugustin Cavalier * Author: 6*eaf0a567SAugustin Cavalier * Łukasz 'Sil2100' Zemczak <sil2100@vexillium.org> 7*eaf0a567SAugustin Cavalier */ 8*eaf0a567SAugustin Cavalier #ifndef PACKAGEINSTALLER_MAIN_H 9*eaf0a567SAugustin Cavalier #define PACKAGEINSTALLER_MAIN_H 10*eaf0a567SAugustin Cavalier 11*eaf0a567SAugustin Cavalier #include <Application.h> 12*eaf0a567SAugustin Cavalier 13*eaf0a567SAugustin Cavalier 14*eaf0a567SAugustin Cavalier const uint32 P_WINDOW_QUIT = 'PiWq'; 15*eaf0a567SAugustin Cavalier 16*eaf0a567SAugustin Cavalier 17*eaf0a567SAugustin Cavalier 18*eaf0a567SAugustin Cavalier class PackageInstaller : public BApplication { 19*eaf0a567SAugustin Cavalier public: 20*eaf0a567SAugustin Cavalier PackageInstaller(); 21*eaf0a567SAugustin Cavalier virtual ~PackageInstaller(); 22*eaf0a567SAugustin Cavalier 23*eaf0a567SAugustin Cavalier virtual void RefsReceived(BMessage* message); 24*eaf0a567SAugustin Cavalier virtual void ArgvReceived(int32 argc, char** argv); 25*eaf0a567SAugustin Cavalier virtual void ReadyToRun(); 26*eaf0a567SAugustin Cavalier 27*eaf0a567SAugustin Cavalier virtual void MessageReceived(BMessage* message); 28*eaf0a567SAugustin Cavalier 29*eaf0a567SAugustin Cavalier private: 30*eaf0a567SAugustin Cavalier void _NewWindow(const entry_ref* ref); 31*eaf0a567SAugustin Cavalier 32*eaf0a567SAugustin Cavalier private: 33*eaf0a567SAugustin Cavalier uint32 fWindowCount; 34*eaf0a567SAugustin Cavalier }; 35*eaf0a567SAugustin Cavalier 36*eaf0a567SAugustin Cavalier #endif // PACKAGEINSTALLER_MAIN_H 37