1/* 2 * Copyright 2004-2015 Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7#include <Alert.h> 8#include <Application.h> 9#include <Catalog.h> 10#include <Locale.h> 11#include <Window.h> 12 13#include "NetworkWindow.h" 14 15 16static const char* kSignature = "application/x-vnd.Haiku-Network"; 17 18 19class Application : public BApplication { 20public: 21 Application(); 22 23public: 24 virtual void ReadyToRun(); 25}; 26 27 28Application::Application() 29 : 30 BApplication(kSignature) 31{ 32} 33 34 35void 36Application::ReadyToRun() 37{ 38 NetworkWindow* window = new NetworkWindow(); 39 window->Show(); 40} 41 42 43// #pragma mark - 44 45 46int 47main() 48{ 49 Application* app = new Application(); 50 app->Run(); 51 delete app; 52 return 0; 53} 54