Support turbo2.
[vuplus_dvbapp] / lib / gdi / glcddc.h
index d4cfab8..a2b3c7f 100644 (file)
@@ -1,5 +1,3 @@
-#ifndef DISABLE_LCD
-
 #ifndef __glcddc_h
 #define __glcddc_h
 
@@ -11,17 +9,14 @@ class gLCDDC: public gDC
        eLCD *lcd;
        static gLCDDC *instance;
        int update;
-       void exec(gOpcode *opcode);
+       void exec(const 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