mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
29 lines
843 B
Diff
29 lines
843 B
Diff
diff -Nru control-0.0.2a-kw3/control.c control-0.0.2a-kw3_0/control.c
|
|
--- control-0.0.2a-kw3/control.c 2008-09-26 16:19:29.000000000 +0200
|
|
+++ control-0.0.2a-kw3_0/control.c 2012-08-04 12:17:08.000000000 +0200
|
|
@@ -32,6 +32,7 @@
|
|
class cPluginControl : public cPlugin {
|
|
private:
|
|
// Add any member variables or functions you may need here.
|
|
+ cCtrlState* _pState;
|
|
cCtrlGateways* _pReceivers;
|
|
cCtrlGateway* _pTerminal;
|
|
|
|
@@ -67,6 +68,7 @@
|
|
cPluginControl::~cPluginControl()
|
|
{
|
|
// Clean up after yourself!
|
|
+ delete(_pState);
|
|
delete(_pReceivers);
|
|
delete(_pTerminal);
|
|
}
|
|
@@ -120,7 +122,7 @@
|
|
// Start any background activities the plugin shall perform.
|
|
|
|
if (glParPort || glParTerminal && *glParTerminal)
|
|
- new cCtrlState();
|
|
+ _pState = new cCtrlState();
|
|
|
|
if (glParPort) {
|
|
_pReceivers = new cCtrlGateways();
|