/* * Copyright 2003-2014 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Jérôme Duval, jerome.duval@free.fr * Michael Phipps */ #include #include #include #include #include #include #include "ScreenSaverWindow.h" class ScreenSaverApp : public BApplication { public: ScreenSaverApp(); private: BWindow* fScreenSaverWindow; }; // #pragma mark - ScreenSaverApp ScreenSaverApp::ScreenSaverApp() : BApplication("application/x-vnd.Haiku-ScreenSaver") { fScreenSaverWindow = new ScreenSaverWindow(); fScreenSaverWindow->Show(); } // #pragma mark - main() int main() { ScreenSaverApp app; app.Run(); return 0; }