2 * Copyright (c) 2007-2010, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Ćukasz 'Sil2100' Zemczak <sil2100@vexillium.org>
10 #include "UninstallWindow.h"
13 #include <GroupLayout.h>
18 #undef B_TRANSLATION_CONTEXT
19 #define B_TRANSLATION_CONTEXT "UninstallWindow"
22 UninstallWindow::UninstallWindow()
24 BWindow(BRect(100, 100, 600, 300),
25 B_TRANSLATE("Installed packages"), B_TITLED_WINDOW
,
26 B_NOT_ZOOMABLE
| B_QUIT_ON_WINDOW_CLOSE
| B_AUTO_UPDATE_SIZE_LIMITS
)
28 SetLayout(new BGroupLayout(B_HORIZONTAL
));
29 AddChild(new UninstallView());
34 UninstallWindow::Quit()
36 be_app
->PostMessage(P_WINDOW_QUIT
);