summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-28 14:40:55 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-28 14:47:56 +0200
commit45eaa9d54e575341ba07175b147422cb981278ee (patch)
tree0130aa72d181743db8775414fbdbe956876b53e2
parentaeb1dc8099631e4ce427e7e07997acf02c75c9cf (diff)
downloadskin-lcarsng-45eaa9d54e575341ba07175b147422cb981278ee.tar.gz
skin-lcarsng-45eaa9d54e575341ba07175b147422cb981278ee.tar.bz2
Cleanup skinlcarsng.c
-rw-r--r--skinlcarsng.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/skinlcarsng.c b/skinlcarsng.c
index d0a2ffd..2cd079a 100644
--- a/skinlcarsng.c
+++ b/skinlcarsng.c
@@ -14,7 +14,7 @@ static const char *DESCRIPTION = "skin lcarsng";
class cPluginLCARSNG : public cPlugin {
private:
- cLCARSNG *lcarsng;
+ // Add any member variables or functions you may need here.
public:
cPluginLCARSNG(void);
virtual ~cPluginLCARSNG();
@@ -39,7 +39,6 @@ class cPluginLCARSNG : public cPlugin {
};
cPluginLCARSNG::cPluginLCARSNG(void) {
- lcarsng = NULL;
statusMonitor = NULL;
}
@@ -63,12 +62,11 @@ bool cPluginLCARSNG::Start(void) {
if (!cOsdProvider::SupportsTrueColor()) {
esyslog("skinlcarsng: No TrueColor OSD found! Aborting!");
return false;
- } else
- dsyslog("skinlcarsng: TrueColor OSD found");
+ }
+ dsyslog("skinlcarsng: TrueColor OSD found");
cDevice::PrimaryDevice()->ScaleVideo(cRect::Null);
- lcarsng = new cLCARSNG;
statusMonitor = new cLCARSNGStatusMonitor;
- return lcarsng;
+ return new cLCARSNG();
}
void cPluginLCARSNG::Stop(void) {