2 * Copyright 2003-2013 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Axel Dörfler, axeld@pinc-software.de
7 * Jérôme Duval, jerome.duval@free.fr
9 * John Scipione, jscipione@gmail.com
11 #ifndef SCREEN_SAVER_RUNNER_H
12 #define SCREEN_SAVER_RUNNER_H
15 #include <ScreenSaver.h>
19 #include "ScreenSaverSettings.h"
22 class ScreenSaverRunner
{
24 ScreenSaverRunner(BWindow
* window
,
26 ScreenSaverSettings
& settings
);
29 BScreenSaver
* ScreenSaver() const { return fSaver
; };
40 static status_t
_ThreadFunc(void* data
);
46 ScreenSaverSettings
& fSettings
;
52 volatile bool fQuitting
;
55 #endif // SCREEN_SAVER_RUNNER_H