mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 14:24:48 +01:00
dce72ace8b
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9272 a95241bf-73f2-0310-859d-f6bbb57e9c96
36 lines
661 B
C++
Executable File
36 lines
661 B
C++
Executable File
#ifndef SCREEN_SAVER_H
|
|
#define SCREEN_SAVER_H
|
|
|
|
#ifndef _APPLICATION_H
|
|
#include <Application.h>
|
|
#endif
|
|
#include "SSAwindow.h"
|
|
#include "ScreenSaverPrefs.h"
|
|
#include "ScreenSaverThread.h"
|
|
#include "pwWindow.h"
|
|
|
|
class ScreenSaverApp : public BApplication
|
|
{
|
|
public:
|
|
ScreenSaverApp();
|
|
bool LoadAddOn(void);
|
|
void ReadyToRun(void);
|
|
// bool QuitRequested(void);
|
|
// void Quit(void);
|
|
virtual void MessageReceived(BMessage *message);
|
|
void ShowPW(void);
|
|
private:
|
|
ScreenSaverPrefs fPref;
|
|
SSAwindow *fWin;
|
|
BScreenSaver *fSaver;
|
|
ScreenSaverThread *fThrd;
|
|
pwWindow *fPww;
|
|
|
|
thread_id fThreadID;
|
|
uint32 fBlankTime;
|
|
|
|
void shutdown(void);
|
|
};
|
|
|
|
#endif //SCREEN_SAVER_H
|