btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / bin / network / ppp_up / PPPStatusWindow.cpp
blobd5c730b0ce5384eea176a5d215d391c67f8acde2
1 /*
2 * Copyright 2005, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
4 */
6 #include "PPPStatusWindow.h"
9 PPPStatusWindow::PPPStatusWindow(BRect frame, ppp_interface_id id)
10 : BWindow(frame, "", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
11 B_ALL_WORKSPACES)
13 SetPulseRate(1000000);
15 fStatusView = new PPPStatusView(Bounds(), id);
16 AddChild(fStatusView);
20 bool
21 PPPStatusWindow::QuitRequested()
23 // only the replicant may delete this window!
24 Hide();
25 return false;