--- a/javauis/lcdui_akn/lcdui/inc/CMIDGaugeItem.h Wed Sep 15 12:05:25 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/inc/CMIDGaugeItem.h Wed Oct 13 14:23:59 2010 +0300
@@ -38,7 +38,6 @@
class CEikProgressInfo;
class CAknSlider;
class CAknBitmapAnimation;
-class CAknsFrameBackgroundControlContext;
/** This interface is implemented by the alert dialog (CMIDAlertDialog). The current
design is such that the alert dialog uses its own animations (loaded from resource)
@@ -119,6 +118,8 @@
*/
virtual void HandleForegroundL(TBool aForeground);
+ virtual inline TBool IsInteractive();
+
protected:
/**
* Ctor
@@ -296,7 +297,7 @@
void SetGaugeListenerFromAlert(MMIDGaugeToAlertListner* aGaugeToAlertListner);
- TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
+ virtual inline TBool IsInteractive();
private:
/**
@@ -361,16 +362,6 @@
*/
TBool BitmapAnimationUsed() const;
- /**
- * Gets new correct instance of control context or null.
- *
- * @return New instance of CAknsFrameBackgroundControlContext.
- * Instance maybe a null.
- *
- * @since S60 v5.0
- */
- CAknsFrameBackgroundControlContext* BackgroundControlContext();
-
private:
CEikProgressInfo* iProgressInfo;
MMIDGaugeToAlertListner* iGaugeToAlertListner;
@@ -430,6 +421,8 @@
//
void ResolutionChange(TInt aType);
+ virtual inline TBool IsInteractive();
+
private:
/**
@@ -455,6 +448,21 @@
};
+TBool inline CMIDGaugeItem::IsInteractive()
+{
+ return EFalse;
+}
+
+TBool inline CMIDNonInteractiveGauge::IsInteractive()
+{
+ return EFalse;
+}
+
+TBool inline CMIDInteractiveGauge::IsInteractive()
+{
+ return ETrue;
+}
+
#endif // CMIDGAUGEITEM_H
// End of File