X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgdi%2Fglcddc.h;h=a2b3c7f0e04111f93169a64def0f5968369ab85b;hp=d4cfab82aad40f80af397191a13cc02d13ce5686;hb=HEAD;hpb=d6f6602d7cea3a7899990fe79216af7d98d05917 diff --git a/lib/gdi/glcddc.h b/lib/gdi/glcddc.h index d4cfab8..a2b3c7f 100644 --- a/lib/gdi/glcddc.h +++ b/lib/gdi/glcddc.h @@ -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 &ptr) { if (!instance) return -1; ptr = instance; return 0; } int islocked() { return lcd->islocked(); } }; - #endif - -#endif //DISABLE_LCD