dont show toneburst(MiniDiSEqC) setting when no diseqc is used
[enigma2.git] / lib / gdi / glcddc.h
index d4cfab82aad40f80af397191a13cc02d13ce5686..6d5f383486021b598e9de05fa52b38bfff297dfb 100644 (file)
@@ -1,5 +1,3 @@
-#ifndef DISABLE_LCD
-
 #ifndef __glcddc_h
 #define __glcddc_h
 
@@ -14,14 +12,11 @@ class gLCDDC: public gDC
        void exec(gOpcode *opcode);
        gSurface surface;
 public:
-       gLCDDC(eLCD *lcd);
+       gLCDDC();
        ~gLCDDC();
        void setUpdate(int update);
-       static gLCDDC *getInstance();
+       static int getInstance(ePtr<gLCDDC> &ptr) { if (!instance) return -1; ptr = instance; return 0; }
        int islocked() { return lcd->islocked(); }
 };
 
-
 #endif
-
-#endif //DISABLE_LCD