1/* 2 * Copyright 2003-2014 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * J��r��me Duval, jerome.duval@free.fr 7 * Michael Phipps 8 */ 9 10 11#include <Application.h> 12#include <Entry.h> 13#include <Path.h> 14 15#include <stdio.h> 16#include <stdlib.h> 17#include <unistd.h> 18 19#include "ScreenSaverWindow.h" 20 21 22class ScreenSaverApp : public BApplication { 23public: 24 ScreenSaverApp(); 25 26private: 27 BWindow* fScreenSaverWindow; 28}; 29 30 31// #pragma mark - ScreenSaverApp 32 33 34ScreenSaverApp::ScreenSaverApp() 35 : 36 BApplication("application/x-vnd.Haiku-ScreenSaver") 37{ 38 fScreenSaverWindow = new ScreenSaverWindow(); 39 fScreenSaverWindow->Show(); 40} 41 42 43// #pragma mark - main() 44 45 46int 47main() 48{ 49 ScreenSaverApp app; 50 app.Run(); 51 return 0; 52} 53