diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-15 17:28:23 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-15 17:28:23 +0000 |
| commit | d764fc2a712770bff292b19cc6f815ad8cc55950 (patch) | |
| tree | d91966ebcc811fe4457cd282b91b3aa2ed8d87e6 /lib/gdi/lcd.h | |
| parent | da1955116b7e8b8c203e27c7e5994537219a0632 (diff) | |
| download | enigma2-d764fc2a712770bff292b19cc6f815ad8cc55950.tar.gz enigma2-d764fc2a712770bff292b19cc6f815ad8cc55950.zip | |
dont show display setup in menu, when no display is available
Diffstat (limited to 'lib/gdi/lcd.h')
| -rw-r--r-- | lib/gdi/lcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gdi/lcd.h b/lib/gdi/lcd.h index e45d88b2..99f921b5 100644 --- a/lib/gdi/lcd.h +++ b/lib/gdi/lcd.h @@ -27,6 +27,7 @@ public: int lock(); void unlock(); int islocked() { return locked; } + bool detected() { return lcdfd >= 0; } #ifndef SWIG eLCD(eSize size); virtual ~eLCD(); |
