summaryrefslogtreecommitdiff
path: root/liveview/liveview.cpp
blob: b6644d8730aa0246045f488d4852cd49c67553bf (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#include "liveview.h"

using namespace sowatch;
QTM_USE_NAMESPACE

LiveView::LiveView(ConfigKey* settings, QObject* parent) :
	BluetoothWatch(QBluetoothAddress(settings->value("address").toString()), parent),
	_settings(settings->getSubkey(QString(), this))
{

}

QPaintEngine* LiveView::paintEngine() const
{
	return 0; // TODO
}

int LiveView::metric(PaintDeviceMetric metric) const
{
	return 0; // TODO
}

QString LiveView::model() const
{
	return "liveview";
}

QStringList LiveView::buttons() const
{
	return QStringList();
}

bool LiveView::isConnected() const
{
	return false;
}

bool LiveView::busy() const
{
	return false; // TODO
}

void LiveView::setDateTime(const QDateTime& dateTime)
{

}
void LiveView::queryDateTime()
{

}
QDateTime LiveView::dateTime() const
{
	return QDateTime::currentDateTime(); // TODO
}

void LiveView::queryBatteryLevel()
{

}
int LiveView::batteryLevel() const
{
	return 0; // TODO
}

void LiveView::queryCharging()
{

}

bool LiveView::charging() const
{
	return false; // TODO
}

void LiveView::displayIdleScreen()
{

}

void LiveView::displayNotification(Notification *notification)
{

}

void LiveView::displayApplication()
{

}

void LiveView::vibrate(int msecs)
{

}