Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / preferences / screensaver / ScreenSaverApp.cpp
blob5d6344ce0442ded1ec2692cbbfe24c337204a6cf
1 /*
2 * Copyright 2003-2014 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jérôme Duval, jerome.duval@free.fr
7 * Michael Phipps
8 */
11 #include <Application.h>
12 #include <Entry.h>
13 #include <Path.h>
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <unistd.h>
19 #include "ScreenSaverWindow.h"
22 class ScreenSaverApp : public BApplication {
23 public:
24 ScreenSaverApp();
26 private:
27 BWindow* fScreenSaverWindow;
31 // #pragma mark - ScreenSaverApp
34 ScreenSaverApp::ScreenSaverApp()
36 BApplication("application/x-vnd.Haiku-ScreenSaver")
38 fScreenSaverWindow = new ScreenSaverWindow();
39 fScreenSaverWindow->Show();
43 // #pragma mark - main()
46 int
47 main()
49 ScreenSaverApp app;
50 app.Run();
51 return 0;