commonuis/CommonDialogs/src/AknCommonDialogs.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <coemain.h>
       
    20 #include <featmgr.h>
       
    21 #include <pathinfo.h>
       
    22 #include <commondialogs.rsg>
       
    23 
       
    24 #include "AknCommonDialogs.h"
       
    25 #include "AknCommonDialogsDynMem.h"
       
    26 #include "CAknMemorySelectionDialog.h"
       
    27 #include "CAknFileSelectionDialog.h"
       
    28 #include "CAknFileNamePromptDialog.h"
       
    29 #include "CCFDCustomFilter.h"
       
    30 
       
    31 // ============================ MEMBER FUNCTIONS ===============================
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // AknCommonDialogs::RunSelectDlgLD
       
    35 // A wrapper for AknCommonDialogsDynMem:: function.
       
    36 //
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
    40     TDes& aFileName,
       
    41     TInt aMemorySelectionResourceId,
       
    42     MAknFileSelectionObserver* aObserver )
       
    43     {
       
    44     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
    45         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
    46         aFileName,
       
    47         aMemorySelectionResourceId,
       
    48         aObserver );
       
    49     }
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // AknCommonDialogs::RunSelectDlgLD
       
    53 // A wrapper for AknCommonDialogsDynMem:: function.
       
    54 //
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
    58     TDes& aFileName,
       
    59     TInt aMemorySelectionResourceId,
       
    60     MAknFileFilter* aFilter,
       
    61     MAknFileSelectionObserver* aObserver )
       
    62     {
       
    63     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
    64         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
    65         aFileName,
       
    66         aMemorySelectionResourceId,
       
    67         aFilter,
       
    68         aObserver );
       
    69     }
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 // AknCommonDialogs::RunSelectDlgLD
       
    73 // A wrapper for AknCommonDialogsDynMem:: function.
       
    74 //
       
    75 // -----------------------------------------------------------------------------
       
    76 //
       
    77 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
    78     TDes& aFileName,
       
    79     TInt aMemorySelectionResourceId,
       
    80     const TDesC& aFileSelectionTitle,
       
    81     MAknFileSelectionObserver* aObserver )
       
    82     {
       
    83     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
    84         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
    85         aFileName,
       
    86         aMemorySelectionResourceId,
       
    87         aFileSelectionTitle,
       
    88         aObserver );
       
    89     }
       
    90 
       
    91 // -----------------------------------------------------------------------------
       
    92 // AknCommonDialogs::RunSelectDlgLD
       
    93 // A wrapper for AknCommonDialogsDynMem:: function.
       
    94 //
       
    95 // -----------------------------------------------------------------------------
       
    96 //
       
    97 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
    98     TDes& aFileName,
       
    99     TInt aMemorySelectionResourceId,
       
   100     TInt aFileSelectionResourceId,
       
   101     MAknFileSelectionObserver* aObserver )
       
   102     {
       
   103     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   104         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   105         aFileName,
       
   106         aMemorySelectionResourceId, 
       
   107         aFileSelectionResourceId,
       
   108         aObserver );
       
   109     }
       
   110 
       
   111 // -----------------------------------------------------------------------------
       
   112 // AknCommonDialogs::RunMoveDlgLD
       
   113 // A wrapper for AknCommonDialogsDynMem:: function.
       
   114 //
       
   115 // -----------------------------------------------------------------------------
       
   116 //
       
   117 EXPORT_C TBool AknCommonDialogs::RunMoveDlgLD(
       
   118     TDes& aDirectory,
       
   119     TInt aMemorySelectionResourceId,
       
   120     MAknFileSelectionObserver* aObserver )
       
   121     {
       
   122     return AknCommonDialogsDynMem::RunMoveDlgLD( 
       
   123         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   124         aDirectory,
       
   125         aMemorySelectionResourceId,
       
   126         aObserver );
       
   127     }
       
   128 
       
   129 // -----------------------------------------------------------------------------
       
   130 // AknCommonDialogs::RunMoveDlgLD
       
   131 // A wrapper for AknCommonDialogsDynMem:: function.
       
   132 //
       
   133 // -----------------------------------------------------------------------------
       
   134 //
       
   135 EXPORT_C TBool AknCommonDialogs::RunMoveDlgLD(
       
   136     TDes& aDirectory,
       
   137     TInt aMemorySelectionResourceId,
       
   138     MAknFileFilter* aFilter,
       
   139     MAknFileSelectionObserver* aObserver )
       
   140     {
       
   141     return AknCommonDialogsDynMem::RunMoveDlgLD( 
       
   142         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   143         aDirectory,
       
   144         aMemorySelectionResourceId,
       
   145         aFilter,
       
   146         aObserver );
       
   147     }
       
   148 
       
   149 // -----------------------------------------------------------------------------
       
   150 // AknCommonDialogs::RunMoveDlgLD
       
   151 // A wrapper for AknCommonDialogsDynMem:: function.
       
   152 //
       
   153 // -----------------------------------------------------------------------------
       
   154 //
       
   155 EXPORT_C TBool AknCommonDialogs::RunMoveDlgLD(
       
   156     TDes& aDirectory,
       
   157     TInt aMemorySelectionResourceId,
       
   158     const TDesC& aFileSelectionTitle,
       
   159     MAknFileSelectionObserver* aObserver )
       
   160     {
       
   161     return AknCommonDialogsDynMem::RunMoveDlgLD( 
       
   162         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   163         aDirectory,
       
   164         aMemorySelectionResourceId,
       
   165         aFileSelectionTitle,
       
   166         aObserver );
       
   167     }
       
   168 
       
   169 // -----------------------------------------------------------------------------
       
   170 // AknCommonDialogs::RunMoveDlgLD
       
   171 // A wrapper for AknCommonDialogsDynMem:: function.
       
   172 //
       
   173 // -----------------------------------------------------------------------------
       
   174 //
       
   175 EXPORT_C TBool AknCommonDialogs::RunMoveDlgLD(
       
   176     TDes& aDirectory,
       
   177     TInt aMemorySelectionResourceId,
       
   178     TInt aFileSelectionResourceId,
       
   179     MAknFileSelectionObserver* aObserver )
       
   180     {
       
   181     return AknCommonDialogsDynMem::RunMoveDlgLD( 
       
   182         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   183         aDirectory,
       
   184         aMemorySelectionResourceId,
       
   185         aFileSelectionResourceId,
       
   186         aObserver );
       
   187     }
       
   188 
       
   189 // -----------------------------------------------------------------------------
       
   190 // AknCommonDialogs::RunSaveDlgLD
       
   191 // A wrapper for AknCommonDialogsDynMem:: function.
       
   192 //
       
   193 // -----------------------------------------------------------------------------
       
   194 //
       
   195 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   196     TDes& aDefaultFileName,
       
   197     TInt aMemorySelectionResourceId,
       
   198     MAknFileSelectionObserver* aObserver )
       
   199     {
       
   200     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   201         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   202         aDefaultFileName,
       
   203         aMemorySelectionResourceId,
       
   204         aObserver );
       
   205     }
       
   206 
       
   207 // -----------------------------------------------------------------------------
       
   208 // AknCommonDialogs::RunSaveDlgLD
       
   209 // A wrapper for AknCommonDialogsDynMem:: function.
       
   210 //
       
   211 // -----------------------------------------------------------------------------
       
   212 //
       
   213 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   214     TDes& aDefaultFileName,
       
   215     TInt aMemorySelectionResourceId,
       
   216     MAknFileFilter* aFilter,
       
   217     MAknFileSelectionObserver* aObserver )
       
   218     {
       
   219     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   220         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   221         aDefaultFileName,
       
   222         aMemorySelectionResourceId,
       
   223         aFilter,
       
   224         aObserver );
       
   225     }
       
   226 
       
   227 // -----------------------------------------------------------------------------
       
   228 // AknCommonDialogs::RunSaveDlgLD
       
   229 // A wrapper for AknCommonDialogsDynMem:: function.
       
   230 //
       
   231 // -----------------------------------------------------------------------------
       
   232 //
       
   233 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   234     TDes& aDefaultFileName,
       
   235     TInt aMemorySelectionResourceId,
       
   236     const TDesC& aFileSelectionTitle,
       
   237     const TDesC& aFileNamePromptTitle,
       
   238     MAknFileSelectionObserver* aObserver )
       
   239     {
       
   240     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   241         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   242         aDefaultFileName,
       
   243         aMemorySelectionResourceId,
       
   244         aFileSelectionTitle,
       
   245         aFileNamePromptTitle,
       
   246         aObserver );
       
   247     }
       
   248 
       
   249 // -----------------------------------------------------------------------------
       
   250 // AknCommonDialogs::RunSaveDlgLD
       
   251 // A wrapper for AknCommonDialogsDynMem:: function.
       
   252 //
       
   253 // -----------------------------------------------------------------------------
       
   254 //
       
   255 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   256     TDes& aDefaultFileName,
       
   257     TInt aMemorySelectionResourceId,
       
   258     TInt aFileSelectionResourceId,
       
   259     MAknFileSelectionObserver* aObserver )
       
   260     {
       
   261     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   262         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   263         aDefaultFileName,
       
   264         aMemorySelectionResourceId,
       
   265         aFileSelectionResourceId,
       
   266         aObserver );
       
   267     }
       
   268 
       
   269 // -----------------------------------------------------------------------------
       
   270 // AknCommonDialogs::RunSaveDlgLD
       
   271 // A wrapper for AknCommonDialogsDynMem:: function.
       
   272 //
       
   273 // -----------------------------------------------------------------------------
       
   274 //
       
   275 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   276     TDes& aDefaultFileName,
       
   277     TInt aMemorySelectionResourceId,
       
   278     TInt aFileSelectionResourceId,
       
   279     const TDesC& aFileNamePromptTitle,
       
   280     MAknFileSelectionObserver* aObserver )
       
   281     {
       
   282     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   283         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   284         aDefaultFileName,
       
   285         aMemorySelectionResourceId,
       
   286         aFileSelectionResourceId,
       
   287         aFileNamePromptTitle,
       
   288         aObserver );
       
   289     }
       
   290 
       
   291 // -----------------------------------------------------------------------------
       
   292 // AknCommonDialogs::RunSaveDlgLD
       
   293 // A wrapper for AknCommonDialogsDynMem:: function.
       
   294 //
       
   295 // -----------------------------------------------------------------------------
       
   296 //
       
   297 EXPORT_C TBool AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD(
       
   298     TDes& aDefaultFileName,
       
   299     TInt aMemorySelectionResourceId,
       
   300     MAknFileSelectionObserver* aObserver )
       
   301     {
       
   302     return AknCommonDialogsDynMem::RunSaveDlgNoDirectorySelectionLD( 
       
   303         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   304         aDefaultFileName,
       
   305         aMemorySelectionResourceId,
       
   306         aObserver );
       
   307     }
       
   308 
       
   309 // -----------------------------------------------------------------------------
       
   310 // AknCommonDialogs::RunSaveDlgLD
       
   311 // A wrapper for AknCommonDialogsDynMem:: function.
       
   312 //
       
   313 // -----------------------------------------------------------------------------
       
   314 //
       
   315 EXPORT_C TBool AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD(
       
   316     TDes& aDefaultFileName,
       
   317     TInt aMemorySelectionResourceId,
       
   318     const TDesC& aFileNamePromptTitle,
       
   319     MAknFileSelectionObserver* aObserver )
       
   320     {
       
   321     return AknCommonDialogsDynMem::RunSaveDlgNoDirectorySelectionLD( 
       
   322         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   323         aDefaultFileName,
       
   324         aMemorySelectionResourceId,
       
   325         aFileNamePromptTitle,
       
   326         aObserver );
       
   327     }
       
   328 
       
   329 // -----------------------------------------------------------------------------
       
   330 // AknCommonDialogs::RunCopyDlgLD
       
   331 // A wrapper for AknCommonDialogsDynMem:: function.
       
   332 //
       
   333 // -----------------------------------------------------------------------------
       
   334 //
       
   335 EXPORT_C TBool AknCommonDialogs::RunCopyDlgLD(
       
   336     TDes& aDirectory,
       
   337     TInt aMemorySelectionResourceId,
       
   338     MAknFileSelectionObserver* aObserver )
       
   339     {
       
   340     return AknCommonDialogsDynMem::RunCopyDlgLD( 
       
   341         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   342         aDirectory,
       
   343         aMemorySelectionResourceId,
       
   344         aObserver );
       
   345     }
       
   346 
       
   347 
       
   348 // -----------------------------------------------------------------------------
       
   349 // AknCommonDialogs::RunCopyDlgLD
       
   350 // A wrapper for AknCommonDialogsDynMem:: function.
       
   351 //
       
   352 // -----------------------------------------------------------------------------
       
   353 //
       
   354 EXPORT_C TBool AknCommonDialogs::RunCopyDlgLD(
       
   355     TDes& aDirectory,
       
   356     TInt aMemorySelectionResourceId,
       
   357     MAknFileFilter* aFilter,
       
   358     MAknFileSelectionObserver* aObserver )
       
   359     {
       
   360     return AknCommonDialogsDynMem::RunCopyDlgLD( 
       
   361         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   362         aDirectory,
       
   363         aMemorySelectionResourceId,
       
   364         aFilter,
       
   365         aObserver );
       
   366     }
       
   367 
       
   368 
       
   369 // -----------------------------------------------------------------------------
       
   370 // AknCommonDialogs::RunCopyDlgLD
       
   371 // A wrapper for AknCommonDialogsDynMem:: function.
       
   372 //
       
   373 // -----------------------------------------------------------------------------
       
   374 //
       
   375 EXPORT_C TBool AknCommonDialogs::RunCopyDlgLD(
       
   376     TDes& aDirectory,
       
   377     TInt aMemorySelectionResourceId,
       
   378     TInt aFileSelectionResourceId,
       
   379     MAknFileSelectionObserver* aObserver )
       
   380     {
       
   381     return AknCommonDialogsDynMem::RunCopyDlgLD( 
       
   382         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   383         aDirectory,
       
   384         aMemorySelectionResourceId,
       
   385         aFileSelectionResourceId,
       
   386         aObserver );
       
   387     }
       
   388 
       
   389 // -----------------------------------------------------------------------------
       
   390 // AknCommonDialogs::RunSelectDlgLD
       
   391 // A wrapper for AknCommonDialogsDynMem:: function.
       
   392 //
       
   393 // -----------------------------------------------------------------------------
       
   394 //
       
   395 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
   396     TDes& aFileName,
       
   397     const TDesC& aStartFolder,
       
   398     TInt aMemorySelectionResourceId,
       
   399     MAknFileSelectionObserver* aObserver )
       
   400     {
       
   401     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   402         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   403         aFileName,
       
   404         aStartFolder,
       
   405         aMemorySelectionResourceId,
       
   406         aObserver );
       
   407     }
       
   408 
       
   409 // -----------------------------------------------------------------------------
       
   410 // AknCommonDialogs::RunSelectDlgLD
       
   411 // A wrapper for AknCommonDialogsDynMem:: function.
       
   412 //
       
   413 // -----------------------------------------------------------------------------
       
   414 //
       
   415 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
   416     TDes& aFileName,
       
   417     const TDesC& aStartFolder,
       
   418     TInt aMemorySelectionResourceId,
       
   419     MAknFileFilter* aFilter,
       
   420     MAknFileSelectionObserver* aObserver )
       
   421     {
       
   422 
       
   423     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   424         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   425         aFileName,
       
   426         aStartFolder,
       
   427         aMemorySelectionResourceId,
       
   428         aFilter,
       
   429         aObserver );
       
   430     }
       
   431 
       
   432 // -----------------------------------------------------------------------------
       
   433 // AknCommonDialogs::RunSelectDlgLD
       
   434 // A wrapper for AknCommonDialogsDynMem:: function.
       
   435 //
       
   436 // -----------------------------------------------------------------------------
       
   437 //
       
   438 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
   439     TDes& aFileName,
       
   440     const TDesC& aStartFolder,
       
   441     TInt aMemorySelectionResourceId,
       
   442     const TDesC& aFileSelectionTitle,
       
   443     MAknFileSelectionObserver* aObserver )
       
   444     {
       
   445 
       
   446     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   447         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   448         aFileName,
       
   449         aStartFolder,
       
   450         aMemorySelectionResourceId,
       
   451         aFileSelectionTitle,
       
   452         aObserver );
       
   453     }
       
   454 
       
   455 // -----------------------------------------------------------------------------
       
   456 // AknCommonDialogs::RunSelectDlgLD
       
   457 // A wrapper for AknCommonDialogsDynMem:: function.
       
   458 //
       
   459 // -----------------------------------------------------------------------------
       
   460 //
       
   461 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
   462     TDes& aFileName,
       
   463     const TDesC& aStartFolder,
       
   464     TInt aMemorySelectionResourceId,
       
   465     TInt aFileSelectionResourceId,
       
   466     MAknFileSelectionObserver* aObserver )
       
   467     {
       
   468     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   469         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   470         aFileName,
       
   471         aStartFolder,
       
   472         aMemorySelectionResourceId,
       
   473         aFileSelectionResourceId,
       
   474         aObserver );
       
   475     }
       
   476 
       
   477 // -----------------------------------------------------------------------------
       
   478 // AknCommonDialogs::RunSelectDlgLD
       
   479 // A wrapper for AknCommonDialogsDynMem:: function.
       
   480 //
       
   481 // -----------------------------------------------------------------------------
       
   482 //
       
   483 EXPORT_C TBool AknCommonDialogs::RunSelectDlgLD(
       
   484     TDes& aFileName, 
       
   485     const TDesC& aStartFolder, 
       
   486     TInt aMemorySelectionResourceId, 
       
   487     TInt aFileSelectionResourceId, 
       
   488     const TDesC& aFileSelectionTitle, 
       
   489     MAknFileFilter* aFilter, 
       
   490     MAknFileSelectionObserver* aObserver )
       
   491     {
       
   492     return AknCommonDialogsDynMem::RunSelectDlgLD( 
       
   493         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   494         aFileName,
       
   495         aStartFolder,
       
   496         aMemorySelectionResourceId,
       
   497         aFileSelectionResourceId,
       
   498         aFileSelectionTitle,
       
   499         aFilter,
       
   500         aObserver );
       
   501     }
       
   502 
       
   503 // -----------------------------------------------------------------------------
       
   504 // AknCommonDialogs::RunSaveDlgLD
       
   505 // A wrapper for AknCommonDialogsDynMem:: function.
       
   506 //
       
   507 // -----------------------------------------------------------------------------
       
   508 //
       
   509 EXPORT_C TBool AknCommonDialogs::RunSaveDlgLD(
       
   510     TDes& aDefaultFileName, 
       
   511     const TDesC& aStartFolder, 
       
   512     TInt aMemorySelectionResourceId, 
       
   513     TInt aFileSelectionResourceId, 
       
   514     const TDesC& aFileSelectionTitle, 
       
   515     MAknFileFilter* aFilter, 
       
   516     MAknFileSelectionObserver* aObserver )
       
   517     {
       
   518     return AknCommonDialogsDynMem::RunSaveDlgLD( 
       
   519         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   520         aDefaultFileName,
       
   521         aStartFolder,
       
   522         aMemorySelectionResourceId,
       
   523         aFileSelectionResourceId,
       
   524         aFileSelectionTitle,
       
   525         aFilter,
       
   526         aObserver );
       
   527     }
       
   528 
       
   529 // -----------------------------------------------------------------------------
       
   530 // AknCommonDialogs::RunFolderSelectDlgLD
       
   531 // A wrapper for AknCommonDialogsDynMem:: function.
       
   532 //
       
   533 // -----------------------------------------------------------------------------
       
   534 //
       
   535 EXPORT_C TBool AknCommonDialogs::RunFolderSelectDlgLD( 
       
   536     TDes& aFolder, 
       
   537     const TDesC& aStartFolder, 
       
   538     TInt aMemorySelectionResourceId, 
       
   539     TInt aFileSelectionResourceId, 
       
   540     const TDesC& aFileSelectionTitle, 
       
   541     MAknFileFilter* aFilter, 
       
   542     MAknFileSelectionObserver* aObserver )
       
   543     {
       
   544     return AknCommonDialogsDynMem::RunFolderSelectDlgLD( 
       
   545         AknCommonDialogsDynMem::EMemoryTypePhone|AknCommonDialogsDynMem::EMemoryTypeMMC,
       
   546         aFolder,
       
   547         aStartFolder,
       
   548         aMemorySelectionResourceId,
       
   549         aFileSelectionResourceId,
       
   550         aFileSelectionTitle,
       
   551         aFilter,
       
   552         aObserver );
       
   553     }
       
   554 
       
   555 //  End of File