-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstbupdate.cpp
More file actions
executable file
·71 lines (60 loc) · 1.23 KB
/
stbupdate.cpp
File metadata and controls
executable file
·71 lines (60 loc) · 1.23 KB
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
#include "stbupdate.h"
#include "macros.h"
#include "magprofile.h"
#include "webpage.h"
using namespace yasem;
StbUpdate::StbUpdate(MagProfile *profile, SDK::WebPage* page)
{
this->m_profile = profile;
this->m_page = page;
}
StbUpdate::~StbUpdate()
{
STUB();
}
int StbUpdate::GetFlashBankCount()
{
STUB();
return 2;
}
int StbUpdate::getStatus()
{
STUB();
return UpdateStatus::WRONG_STB_MODEL;
}
/**
* Returns memory bank number, which was used for current software loading.
* @return 0 – first memory bank; 1 – second memory bank; -1 – memory bank is undefined
* (it could be possible if device was booted from network storage. For examples, NFS)
*/
int StbUpdate::getActiveBank()
{
return 0;
}
void StbUpdate::startCheck(const QString &data)
{
STUB();
}
int StbUpdate::getPercents()
{
STUB();
return 100;
}
QString StbUpdate::getImageDateStr()
{
QString stub_str = "Tue Apr 9 18:14:45 EEST 2013";
STUB() << stub_str;
return stub_str;
}
QString StbUpdate::getImageDescStr()
{
QString stub_str = "0.2.16-pub-250";
STUB() << stub_str;
return stub_str;
}
QString StbUpdate::getImageVersionStr()
{
QString stub_str = "216";
STUB() << stub_str;
return stub_str;
}