haiku/src/servers/screensaver/ScreenSaverApp.h
Michael Phipps dce72ace8b Fixed all known bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 23:18:56 +00:00

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