patch by Pieter Grimmerink: use ext3 largefile option only for disks > 4G
[enigma2.git] / lib / gdi / lcd.h
index de49571999c69edeffef37b2672e4646ed08f3db..99f921b525e16434bf6cb4dcf8c952b6a508f8d4 100644 (file)
@@ -27,6 +27,7 @@ public:
        int lock();
        void unlock();
        int islocked() { return locked; }
        int lock();
        void unlock();
        int islocked() { return locked; }
+       bool detected() { return lcdfd >= 0; }
 #ifndef SWIG
        eLCD(eSize size);
        virtual ~eLCD();
 #ifndef SWIG
        eLCD(eSize size);
        virtual ~eLCD();
@@ -56,6 +57,7 @@ public:
        int setLCDContrast(int contrast);
        int setLCDBrightness(int brightness);
        void setInverted( unsigned char );
        int setLCDContrast(int contrast);
        int setLCDBrightness(int brightness);
        void setInverted( unsigned char );
+       bool isOled() const { return !!is_oled; }
        void update();
 };
 
        void update();
 };