summaryrefslogtreecommitdiff
path: root/imon.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2009-06-21 09:11:24 +0200
committeranbr <vdr07@deltab.de>2009-06-21 09:11:24 +0200
commita65c3e885021c6bd939ee0cbb4509b417ef898f2 (patch)
tree4fbe80dd51afb75b69d7f8d8cb1b48f32e1bd474 /imon.h
parentb5d750bc8e72f5748ffad75f25a972189e4a9100 (diff)
downloadvdr-plugin-imonlcd-a65c3e885021c6bd939ee0cbb4509b417ef898f2.tar.gz
vdr-plugin-imonlcd-a65c3e885021c6bd939ee0cbb4509b417ef898f2.tar.bz2
fix double write on shutdown
Diffstat (limited to 'imon.h')
-rw-r--r--imon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/imon.h b/imon.h
index 6e38217..513eef2 100644
--- a/imon.h
+++ b/imon.h
@@ -122,7 +122,7 @@ public:
virtual int open(const char* szDevice, eProtocol pro);
virtual void close ();
-
+ bool isopen() const { return imon_fd >= 0; }
void clear ();
int DrawText(int x, int y, const char* string);
bool flush ();