commonuis/CommonDialogs/src/CAknMemorySelectionModel.cpp
changeset 14 3320e4e6e8bb
parent 0 2f259fa3e83a
child 56 d48ab3b357f1
equal deleted inserted replaced
0:2f259fa3e83a 14:3320e4e6e8bb
    22 #include "AknCFDUtility.h"
    22 #include "AknCFDUtility.h"
    23 
    23 
    24 #include <coemain.h>
    24 #include <coemain.h>
    25 #include <StringLoader.h>
    25 #include <StringLoader.h>
    26 #include <commondialogs.rsg>
    26 #include <commondialogs.rsg>
    27 #include <rsfwmountman.h>
    27 
    28 #include <pathinfo.h> //PathInfo
    28 #include <pathinfo.h> //PathInfo
    29 #include <driveinfo.h> //DriveInfo
    29 #include <driveinfo.h> //DriveInfo
    30 
    30 
    31 // CONSTANTS
    31 // CONSTANTS
    32 const TInt KListBoxEntryMaxLength( KMaxFileName + 32 );
    32 const TInt KListBoxEntryMaxLength( KMaxFileName + 32 );
   733                 // Currently Remote drive does not support query for available
   733                 // Currently Remote drive does not support query for available
   734                 // disk space, so just return " "
   734                 // disk space, so just return " "
   735                 _LIT( KEmptySpace, " ");
   735                 _LIT( KEmptySpace, " ");
   736                 itemString.Append( KEmptySpace ); 
   736                 itemString.Append( KEmptySpace ); 
   737 
   737 
   738                 if( aDriveInfo.iConnectionState == KMountStronglyConnected )
   738                 //  if( aDriveInfo.iConnectionState == KMountStronglyConnected )
   739                     {
   739                 //    {
   740                     // D-column icon: Show active icon if drive has no error
   740                 // D-column icon: Show active icon if drive has no error
   741                     itemString.Append( KTabChar );
   741                 //    itemString.Append( KTabChar );
   742                     itemString.AppendFormat( KImageHeader, EIconRemoteDriveActive );
   742                 //    itemString.AppendFormat( KImageHeader, EIconRemoteDriveActive );
   743                     }
   743                 //    }
   744                 else // KMountNotConnected
   744                 // else // KMountNotConnected
   745                     {
   745                 //    {
   746                     // D-column icon: Show active icon if drive has no error
   746                 // D-column icon: Show active icon if drive has no error
   747                     itemString.Append( KTabChar );
   747                 itemString.Append( KTabChar );
   748                     }
   748                 //    }
   749                 }
   749                 }
   750             else
   750             else
   751                 {
   751                 {
   752                 // 2nd row text:
   752                 // 2nd row text:
   753                 itemString.Append( *iLocStringArray[ ETextMMCUnavailable ] );
   753                 itemString.Append( *iLocStringArray[ ETextMMCUnavailable ] );