projects
/
pierogi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Memory Management Improved
[pierogi]
/
keysets
/
beko.cpp
diff --git
a/keysets/beko.cpp
b/keysets/beko.cpp
index
f70fc32
..
b415af4
100644
(file)
--- a/
keysets/beko.cpp
+++ b/
keysets/beko.cpp
@@
-3,13
+3,24
@@
BekoTV1::BekoTV1(
BekoTV1::BekoTV1(
- QObject *guiObject,
unsigned int index)
: PIRKeysetMetaData(
"TV Keyset 1",
Beko_Make,
index)
{
unsigned int index)
: PIRKeysetMetaData(
"TV Keyset 1",
Beko_Make,
index)
{
+}
+
+
+void BekoTV1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // If the pointer is not null, the keyset must already be populated.
+ return;
+ }
+
threadableProtocol = new RC5Protocol(guiObject, index);
addKey("MIX", TeletextAndTV_Key, 0x1004, 13);
threadableProtocol = new RC5Protocol(guiObject, index);
addKey("MIX", TeletextAndTV_Key, 0x1004, 13);