/* * Copyright 2004-2015 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #include #include #include #include #include #include "NetworkWindow.h" static const char* kSignature = "application/x-vnd.Haiku-Network"; class Application : public BApplication { public: Application(); public: virtual void ReadyToRun(); }; Application::Application() : BApplication(kSignature) { } void Application::ReadyToRun() { NetworkWindow* window = new NetworkWindow(); window->Show(); } // #pragma mark - int main() { Application* app = new Application(); app->Run(); delete app; return 0; }