javauis/lcdui_akn/javalcdui/inc/CMIDEnv.h
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    58     virtual MMIDDisplayable* Current();
    58     virtual MMIDDisplayable* Current();
    59     virtual TPtrC MidletName() const;
    59     virtual TPtrC MidletName() const;
    60     virtual TUid MidletUid() const;
    60     virtual TUid MidletUid() const;
    61     virtual TPtrC MidletHome() const;
    61     virtual TPtrC MidletHome() const;
    62     virtual void DisplayableIsDestructed(const MMIDDisplayable* displayable);
    62     virtual void DisplayableIsDestructed(const MMIDDisplayable* displayable);
       
    63     const MMIDDisplayable* LastFullscreenDisplayable() const;
    63 
    64 
    64 #ifdef RD_SCALABLE_UI_V2
    65 #ifdef RD_SCALABLE_UI_V2
    65     // This function can be moved out from RD_SCALABLE_UI_V2 flag if needed.
    66     // This function can be moved out from RD_SCALABLE_UI_V2 flag if needed.
    66     // It is behind this flag because currently it is used only by Touch.
    67     // It is behind this flag because currently it is used only by Touch.
    67     /**
    68     /**
   155      * @see MMIDEnv#IsHardwareAccelerated()
   156      * @see MMIDEnv#IsHardwareAccelerated()
   156      */
   157      */
   157     virtual TBool IsHardwareAcceleratedL(
   158     virtual TBool IsHardwareAcceleratedL(
   158         MMIDEnv::THardwareType aHardwareType = MMIDEnv::EHardware3D);
   159         MMIDEnv::THardwareType aHardwareType = MMIDEnv::EHardware3D);
   159 
   160 
       
   161     /**
       
   162      * @see MMIDEnv#HandleFullOrPartialForegroundL()
       
   163      */
       
   164     virtual void HandleFullOrPartialForegroundL(TBool aFullOrPartialFg);
       
   165 
       
   166     /**
       
   167      * @see MMIDEnv#HandleFreeGraphicsMemory()
       
   168      */
       
   169     virtual void HandleFreeGraphicsMemory();
       
   170 
       
   171     /**
       
   172      * @see MMIDEnv#HasFullOrPartialForeground()
       
   173      */
       
   174     virtual TBool HasFullOrPartialForeground() const;
   160 private:
   175 private:
   161     /**
   176     /**
   162      * Checks and initializes 2D & 3D harware status
   177      * Checks and initializes 2D & 3D harware status
   163      * @return Hardware status @see MMIDEnv::THardwareType
   178      * @return Hardware status @see MMIDEnv::THardwareType
   164      * @since S60 9.2
   179      * @since S60 9.2
   260      */
   275      */
   261     CMIDToLcduiObserver*        iToLcduiObserver;
   276     CMIDToLcduiObserver*        iToLcduiObserver;
   262 
   277 
   263 #ifdef RD_JAVA_NGA_ENABLED
   278 #ifdef RD_JAVA_NGA_ENABLED
   264     TInt                        iHardwareStatus;
   279     TInt                        iHardwareStatus;
       
   280     TBool                       iFullOrPartialFg;
   265 #endif // RD_JAVA_NGA_ENABLED
   281 #endif // RD_JAVA_NGA_ENABLED
   266 };
   282 };
   267 
   283 
   268 #endif // CMIDENV_H
   284 #endif // CMIDENV_H