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