2 * Copyright 2005, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
6 #include "PPPUpApplication.h"
7 #include "ConnectionWindow.h"
10 #include <PPPReportDefs.h>
14 main(int argc
, const char *argv
[])
19 const char *interfaceName
= argv
[1];
21 new PPPUpApplication(interfaceName
);
29 PPPUpApplication::PPPUpApplication(const char *interfaceName
)
30 : BApplication(APP_SIGNATURE
),
31 fInterfaceName(interfaceName
)
37 PPPUpApplication::ReadyToRun()
39 BRect
rect(150, 50, 450, 435);
40 // TODO: center rect on screen
41 (new ConnectionWindow(rect
, fInterfaceName
))->Run();