summaryrefslogtreecommitdiffstats
path: root/src/client/util/platform/blankscreen.h
blob: 24c4969289a509649b03d231f9dc8acdd4e6f163 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _BLANKSCREEN_H_
#define _BLANKSCREEN_H_

#include <QString>
#include <QDialog>
#include <QDebug>

struct BlankScreen_Sysdep;

class BlankScreen : public QDialog
{
	Q_OBJECT
public:
	BlankScreen();
	virtual ~BlankScreen();
	void draw(bool force = false);
	bool lock(const QString& message);
	bool unlock();

private:
	bool _locked;
	QString _message;
	BlankScreen_Sysdep* _sysdep;
};

#endif