summaryrefslogtreecommitdiff
path: root/metawatchsimulator.h
blob: 22ca4b0e9bbdcea77a2086dbeccd37a78ce1dc0b (plain)
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
27
28
29
30
#ifndef METAWATCHSIMULATOR_H
#define METAWATCHSIMULATOR_H

#include "watchsimulator.h"
#include "metawatchsimulatorform.h"

namespace sowatch {

class MetaWatchSimulator : public WatchSimulator
{
    Q_OBJECT
public:
    explicit MetaWatchSimulator(QObject *parent = 0);
	~MetaWatchSimulator();

	QString model() const;
	bool isConnected() const;
	bool busy() const;

	void update(const QList<QRect> &rects);
	void vibrate(bool on);

protected:
	QPixmap _screen;
	MetaWatchSimulatorForm* _form;
};

}

#endif // METAWATCHSIMULATOR_H