diff -r 4122176ea935 -r 56f325a607ea kernel/eka/include/drivers/camerasc.h --- a/kernel/eka/include/drivers/camerasc.h Mon Dec 21 16:14:42 2009 +0000 +++ b/kernel/eka/include/drivers/camerasc.h Wed Dec 23 11:43:31 2009 +0000 @@ -416,6 +416,7 @@ TInt ReAllocBufferConfigInfo(TInt aNumBuffers); TInt GetSensorCaps(TAny* a1); TInt GetFrameSizeCaps(TAny* a1, TAny* a2); + TInt GetDynamicAttribute(TInt aAttribute, TUint& aValue); TInt SetDynamicAttribute(TInt aAttribute, TUint aValue); inline DCameraScPdd* Pdd(); static void RestartDfc(TAny* aChannel); @@ -444,6 +445,12 @@ TDfc iPowerDownDfc; /** DFC used to handle power up requests from the power manager following a transition out of system standby. */ TDfc iPowerUpDfc; + + // Used as a cache for values successfully set by SetDynamicAttribute(). + TUint iBrightnessValue; + TUint iContrastValue; + TUint iColorEffectValue; + friend class DCameraScPowerHandler; friend class DBufferManager; };