more changes for async picture decode support
[vuplus_dvbapp] / lib / gdi / lcd.h
index de49571..99f921b 100644 (file)
@@ -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();
@@ -56,6 +57,7 @@ public:
        int setLCDContrast(int contrast);
        int setLCDBrightness(int brightness);
        void setInverted( unsigned char );
+       bool isOled() const { return !!is_oled; }
        void update();
 };