MythTV master
xbmcgui.py
Go to the documentation of this file.
1# Tiny portion of Kodistubs to translate CU LRC to MythTV. If CU LRC
2# ever refers to other functions, simply copy them in here from
3# original Kodistubs and update where needed like below.
4
5# show "dialog" on stderr for testall.py / scrapertest.py
6import sys
7
8class Dialog:
9
10 def __init__(self) -> None:
11 pass
12
13 def ok(self, heading: str, message: str) -> bool:
14 return True
15
17
18 def __init__(self) -> None:
19 pass
20
21 def create(self, heading: str, message: str = "") -> None:
22 print("\tDIALOG created: ", heading, " : ", message, file=sys.stderr)
23 pass
24
25 def update(self, percent: int, message: str = "") -> None:
26 print("\tDIALOG updated %s: " % percent, message, file=sys.stderr)
27 pass
28
29 def close(self) -> None:
30 pass
31
32 def iscanceled(self) -> bool:
33 # not cancelled is needed to continue the testall.py / scrapertest.py
34 return False
35
36class Window:
37 def __init__(self, existingWindowId: int = -1) -> None:
38 pass
None create(self, str heading, str message="")
Definition: xbmcgui.py:21
None __init__(self)
Definition: xbmcgui.py:18
bool iscanceled(self)
Definition: xbmcgui.py:32
None update(self, int percent, str message="")
Definition: xbmcgui.py:25
None close(self)
Definition: xbmcgui.py:29
None __init__(self)
Definition: xbmcgui.py:10
bool ok(self, str heading, str message)
Definition: xbmcgui.py:13
None __init__(self, int existingWindowId=-1)
Definition: xbmcgui.py:37
static void print(const QList< uint > &raw_minimas, const QList< uint > &raw_maximas, const QList< float > &minimas, const QList< float > &maximas)