iaupdate/IAD/backgroundchecker/src/iaupdatebginternalfilehandler.cpp
changeset 60 245df5276b97
parent 53 ae54820ef82c
--- a/iaupdate/IAD/backgroundchecker/src/iaupdatebginternalfilehandler.cpp	Tue Jul 06 14:23:31 2010 +0300
+++ b/iaupdate/IAD/backgroundchecker/src/iaupdatebginternalfilehandler.cpp	Wed Aug 18 09:55:45 2010 +0300
@@ -222,7 +222,6 @@
     iMode = aMode;
     }
 
-
 // -----------------------------------------------------------------------------
 // CIAUpdateBGInternalFileHandler::Mode
 //
@@ -233,7 +232,6 @@
     return iMode;
     }
 
-
 // -----------------------------------------------------------------------------
 // CIAUpdateBGInternalFileHandler::FwVersion
 //
@@ -244,7 +242,6 @@
     return iFwVersion;
     }
 
-
 // ----------------------------------------------------------
 // CIAUpdateBGInternalFileHandler::SetFwVersionL()
 // ----------------------------------------------------------
@@ -306,6 +303,26 @@
     }
 
 // -----------------------------------------------------------------------------
+// CIAUpdateBGInternalFileHandler::NrOfIndicatorEntries
+//
+// -----------------------------------------------------------------------------
+//
+TInt CIAUpdateBGInternalFileHandler::NrOfIndicatorEntries()
+    {
+    return iNrOfIndicatiorEntries;
+    }
+
+
+// -----------------------------------------------------------------------------
+// CIAUpdateBGInternalFileHandler::SetNrOfIndicatorEntries
+//
+// -----------------------------------------------------------------------------
+//
+void CIAUpdateBGInternalFileHandler::SetNrOfIndicatorEntries( TInt aEntries )
+    {
+    iNrOfIndicatiorEntries = aEntries;
+    }
+// -----------------------------------------------------------------------------
 // CIAUpdateBGInternalFileHandler::InternalizeL
 //
 // -----------------------------------------------------------------------------
@@ -323,16 +340,6 @@
     // Static casting is safe to do here because enum and TInt are the same.
     SetUserRejectNewFeatureDialog( static_cast< TBool >( userDecision ) );
     
-    /*
-    TInt64 nextRemindTime( 0 );
-    aStream >> nextRemindTime;
-    SetNextRemindTime( nextRemindTime );
-    
-    TInt remindOn( aStream.ReadUint8L() );
-    // Static casting is safe to do here because enum and TInt are the same.
-    SetReminder( static_cast< TBool >( remindOn ) );
-    */
-    
     TInt mode( aStream.ReadUint8L() );
     SetMode( static_cast<TIAUpdateBGMode> (mode) );
     
@@ -348,6 +355,10 @@
     
     TInt retry ( aStream.ReadUint8L() );
     SetRetryTimes( retry );
+    
+    TInt entries ( aStream.ReadUint8L() );
+    SetNrOfIndicatorEntries( entries );
+    
     }
 
 
@@ -367,14 +378,6 @@
     TInt userDecision ( UserRejectNewFeatureDialog() );
     aStream.WriteUint8L( userDecision );
     
-    /*
-    TInt64 nextRemindTime( NextRemindTime().Int64() ); 
-    aStream << nextRemindTime;
-    
-    TInt remindOn ( ReminderOn() );
-    aStream.WriteUint8L( remindOn );
-    */
-    
     TInt mode( Mode() );
     aStream.WriteUint8L( mode );
     
@@ -388,6 +391,10 @@
     
     TInt retry ( RetryTimes() );
     aStream.WriteUint8L( retry ); 
+    
+    TInt entries ( NrOfIndicatorEntries() );
+    aStream.WriteUint8L( entries ); 
+    
     }
 
 //EOF