sensorservices/tiltcompensationssy/src/tcstate.cpp
branchRCL_3
changeset 15 b2f9f823b5fb
parent 0 4e1aa6a622a0
--- a/sensorservices/tiltcompensationssy/src/tcstate.cpp	Tue May 25 14:04:18 2010 +0300
+++ b/sensorservices/tiltcompensationssy/src/tcstate.cpp	Wed Jun 09 11:04:22 2010 +0300
@@ -82,11 +82,14 @@
 // CTCState::IsSet
 // ----------------------------------------------------------------------------------
 //
-TBool CTCState::IsSet( TUint32 /*aFlag*/ )
+TBool CTCState::IsSet( TUint32 aFlag )
     {
     FUNC_LOG;
     
-    return ETrue;
+    if(iFlags & aFlag)    
+        return ETrue;
+    else
+        return EFalse;
     }
 
 // ----------------------------------------------------------------------------------