filemanager/App/src/CFileManagerViewBase.cpp
branchRCL_3
changeset 20 efe289f793e7
parent 15 649c558486f0
child 28 529f3bf5c2f1
equal deleted inserted replaced
19:5181328fad28 20:efe289f793e7
    24 #include <StringLoader.h>
    24 #include <StringLoader.h>
    25 #include <AknCommonDialogs.h> // Common File Dialogs
    25 #include <AknCommonDialogs.h> // Common File Dialogs
    26 #include <CAknMemorySelectionDialog.h>
    26 #include <CAknMemorySelectionDialog.h>
    27 #include <CAknFileSelectionDialog.h>
    27 #include <CAknFileSelectionDialog.h>
    28 #include <sendui.h>
    28 #include <sendui.h>
    29 #include <Sendnorm.rsg>
    29 #include <sendnorm.rsg>
    30 #include <SenduiMtmUids.h>
    30 #include <SenduiMtmUids.h>
    31 #include <AknProgressDialog.h>
    31 #include <AknProgressDialog.h>
    32 #include <eikprogi.h>
    32 #include <eikprogi.h>
    33 #include <AknWaitNoteWrapper.h>
    33 #include <AknWaitNoteWrapper.h>
    34 #include <aknnotewrappers.h>
    34 #include <aknnotewrappers.h>
    55 #include <CFileManagerUtils.h>
    55 #include <CFileManagerUtils.h>
    56 #include <CFileManagerCommonDefinitions.h>
    56 #include <CFileManagerCommonDefinitions.h>
    57 #include <CFileManagerItemProperties.h>
    57 #include <CFileManagerItemProperties.h>
    58 #include <CFileManagerActiveExecute.h>
    58 #include <CFileManagerActiveExecute.h>
    59 #include <Cfilemanageractivedelete.h>
    59 #include <Cfilemanageractivedelete.h>
    60 #include <FileManager.rsg>
    60 #include <filemanager.rsg>
    61 #include <FileManagerView.rsg>
    61 #include <filemanagerview.rsg>
    62 #include <FileManagerDebug.h>
    62 #include <FileManagerDebug.h>
    63 #include <FileManagerDlgUtils.h>
    63 #include <FileManagerDlgUtils.h>
    64 #include <CFileManagerFeatureManager.h>
    64 #include <CFileManagerFeatureManager.h>
    65 #include <FileManagerPrivateCRKeys.h>
    65 #include <FileManagerPrivateCRKeys.h>
    66 #include <DataSyncInternalPSKeys.h>
    66 #include <DataSyncInternalPSKeys.h>
    84                                   CFileManagerItemProperties::EDefault;
    84                                   CFileManagerItemProperties::EDefault;
    85 const TInt64 KMSecToMicroSecMultiplier = 1000000;
    85 const TInt64 KMSecToMicroSecMultiplier = 1000000;
    86 const TInt64 KMinToMicroSecMultiplier = KMSecToMicroSecMultiplier * 60;
    86 const TInt64 KMinToMicroSecMultiplier = KMSecToMicroSecMultiplier * 60;
    87 const TInt64 KHourToMicroSecMultiplier = KMinToMicroSecMultiplier * 60;
    87 const TInt64 KHourToMicroSecMultiplier = KMinToMicroSecMultiplier * 60;
    88 const TUint KProgressBarAsyncStartDelay = 1500000; // microseconds
    88 const TUint KProgressBarAsyncStartDelay = 1500000; // microseconds
    89 const TInt KMinificationFactor = 1024; // Used to zoom processbar's proportion
    89 const TInt64 KMinificationFactor = 1024; // Used to zoom processbar's proportion
    90 
    90 
    91 // ============================ LOCAL FUNCTIONS ================================
    91 // ============================ LOCAL FUNCTIONS ================================
    92 
    92 
    93 // -----------------------------------------------------------------------------
    93 // -----------------------------------------------------------------------------
    94 // IsWmDrmFile
    94 // IsWmDrmFile
  4288         iProgressDialogRefresh->ProcessFinishedL();
  4288         iProgressDialogRefresh->ProcessFinishedL();
  4289         iProgressDialogRefresh = NULL;
  4289         iProgressDialogRefresh = NULL;
  4290         }
  4290         }
  4291     iProgressDialogRefresh = new( ELeave ) CAknProgressDialog(
  4291     iProgressDialogRefresh = new( ELeave ) CAknProgressDialog(
  4292         reinterpret_cast< CEikDialog** >( &iProgressDialogRefresh ),
  4292         reinterpret_cast< CEikDialog** >( &iProgressDialogRefresh ),
  4293         ETrue );
  4293         EFalse );
  4294     iProgressDialogRefresh->SetCallback( this );
  4294     iProgressDialogRefresh->SetCallback( this );
  4295 
  4295 
  4296     if ( Id() == CFileManagerAppUi::KFileManagerSearchResultsViewId )
  4296     if ( Id() == CFileManagerAppUi::KFileManagerSearchResultsViewId )
  4297         {
  4297         {
  4298         iProgressDialogRefresh->ExecuteLD( R_FILEMANAGER_FIND_WAIT_DIALOG );
  4298         iProgressDialogRefresh->ExecuteLD( R_FILEMANAGER_FIND_WAIT_DIALOG );