00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef AKNCOMMONDIALOGS_H
00022 #define AKNCOMMONDIALOGS_H
00023
00024
00025 #include <CAknCommonDialogsBase.h>
00026
00027
00028 class MAknMemorySelectionObserver;
00029 class MAknFileSelectionObserver;
00030 class MAknFileFilter;
00031
00032
00053 class AknCommonDialogs
00054 {
00055
00056 public:
00057
00070 IMPORT_C static TBool RunSelectDlgLD(
00071 TDes& aFileName,
00072 TInt aMemorySelectionResourceId,
00073 MAknFileSelectionObserver* aObserver = NULL );
00074
00089 IMPORT_C static TBool RunSelectDlgLD(
00090 TDes& aFileName,
00091 TInt aMemorySelectionResourceId,
00092 MAknFileFilter* aFilter,
00093 MAknFileSelectionObserver* aObserver = NULL );
00094
00108 IMPORT_C static TBool RunSelectDlgLD(
00109 TDes& aFileName,
00110 TInt aMemorySelectionResourceId,
00111 const TDesC& aFileSelectionTitle,
00112 MAknFileSelectionObserver* aObserver = NULL );
00113
00128 IMPORT_C static TBool RunSelectDlgLD(
00129 TDes& aFileName,
00130 TInt aMemorySelectionResourceId,
00131 TInt aFileSelectionResourceId,
00132 MAknFileSelectionObserver* aObserver = NULL );
00133
00146 IMPORT_C static TBool RunMoveDlgLD(
00147 TDes& aDirectory,
00148 TInt aMemorySelectionResourceId,
00149 MAknFileSelectionObserver* aObserver = NULL );
00150
00165 IMPORT_C static TBool RunMoveDlgLD(
00166 TDes& aDirectory,
00167 TInt aMemorySelectionResourceId,
00168 MAknFileFilter* aFilter,
00169 MAknFileSelectionObserver* aObserver = NULL );
00170
00185 IMPORT_C static TBool RunMoveDlgLD(
00186 TDes& aDirectory,
00187 TInt aMemorySelectionResourceId,
00188 const TDesC& aFileSelectionTitle,
00189 MAknFileSelectionObserver* aObserver = NULL );
00190
00205 IMPORT_C static TBool RunMoveDlgLD(
00206 TDes& aDirectory,
00207 TInt aMemorySelectionResourceId,
00208 TInt aFileSelectionResourceId,
00209 MAknFileSelectionObserver* aObserver = NULL );
00210
00228 IMPORT_C static TBool RunSaveDlgLD(
00229 TDes& aDefaultFileName,
00230 TInt aMemorySelectionResourceId,
00231 MAknFileSelectionObserver* aObserver = NULL );
00232
00249 IMPORT_C static TBool RunSaveDlgLD(
00250 TDes& aDefaultFileName,
00251 TInt aMemorySelectionResourceId,
00252 MAknFileFilter* aFilter,
00253 MAknFileSelectionObserver* aObserver = NULL );
00254
00271 IMPORT_C static TBool RunSaveDlgLD(
00272 TDes& aDefaultFileName,
00273 TInt aMemorySelectionResourceId,
00274 const TDesC& aFileSelectionTitle,
00275 const TDesC& aFileNamePromptTitle,
00276 MAknFileSelectionObserver* aObserver = NULL );
00277
00294 IMPORT_C static TBool RunSaveDlgLD(
00295 TDes& aDefaultFileName,
00296 TInt aMemorySelectionResourceId,
00297 TInt aFileSelectionResourceId,
00298 MAknFileSelectionObserver* aObserver = NULL );
00299
00317 IMPORT_C static TBool RunSaveDlgLD(
00318 TDes& aDefaultFileName,
00319 TInt aMemorySelectionResourceId,
00320 TInt aFileSelectionResourceId,
00321 const TDesC& aFileNamePromptTitle,
00322 MAknFileSelectionObserver* aObserver = NULL );
00323
00340 IMPORT_C static TBool RunSaveDlgNoDirectorySelectionLD(
00341 TDes& aDefaultFileName,
00342 TInt aMemorySelectionResourceId,
00343 MAknFileSelectionObserver* aObserver = NULL );
00344
00362 IMPORT_C static TBool RunSaveDlgNoDirectorySelectionLD(
00363 TDes& aDefaultFileName,
00364 TInt aMemorySelectionResourceId,
00365 const TDesC& aFileNamePromptTitle,
00366 MAknFileSelectionObserver* aObserver = NULL );
00367
00380 IMPORT_C static TBool RunCopyDlgLD(
00381 TDes& aDirectory,
00382 TInt aMemorySelectionResourceId,
00383 MAknFileSelectionObserver* aObserver = NULL );
00384
00399 IMPORT_C static TBool RunCopyDlgLD(
00400 TDes& aDirectory,
00401 TInt aMemorySelectionResourceId,
00402 MAknFileFilter* aFilter,
00403 MAknFileSelectionObserver* aObserver = NULL );
00404
00419 IMPORT_C static TBool RunCopyDlgLD(
00420 TDes& aDirectory,
00421 TInt aMemorySelectionResourceId,
00422 TInt aFileSelectionResourceId,
00423 MAknFileSelectionObserver* aObserver = NULL );
00424
00439 IMPORT_C static TBool RunSelectDlgLD(
00440 TDes& aFileName,
00441 const TDesC& aStartFolder,
00442 TInt aMemorySelectionResourceId,
00443 MAknFileSelectionObserver* aObserver = NULL );
00444
00461 IMPORT_C static TBool RunSelectDlgLD(
00462 TDes& aFileName,
00463 const TDesC& aStartFolder,
00464 TInt aMemorySelectionResourceId,
00465 MAknFileFilter* aFilter,
00466 MAknFileSelectionObserver* aObserver = NULL );
00467
00483 IMPORT_C static TBool RunSelectDlgLD(
00484 TDes& aFileName,
00485 const TDesC& aStartFolder,
00486 TInt aMemorySelectionResourceId,
00487 const TDesC& aFileSelectionTitle,
00488 MAknFileSelectionObserver* aObserver = NULL );
00489
00506 IMPORT_C static TBool RunSelectDlgLD(
00507 TDes& aFileName,
00508 const TDesC& aStartFolder,
00509 TInt aMemorySelectionResourceId,
00510 TInt aFileSelectionResourceId,
00511 MAknFileSelectionObserver* aObserver = NULL );
00512
00528 IMPORT_C static TBool RunSelectDlgLD(
00529 TDes& aFileName,
00530 const TDesC& aStartFolder,
00531 TInt aMemorySelectionResourceId,
00532 TInt aFileSelectionResourceId,
00533 const TDesC& aFileSelectionTitle,
00534 MAknFileFilter* aFilter = NULL,
00535 MAknFileSelectionObserver* aObserver = NULL );
00536
00555 IMPORT_C static TBool RunSaveDlgLD(
00556 TDes& aDefaultFileName,
00557 const TDesC& aStartFolder,
00558 TInt aMemorySelectionResourceId,
00559 TInt aFileSelectionResourceId,
00560 const TDesC& aFileSelectionTitle,
00561 MAknFileFilter* aFilter = NULL,
00562 MAknFileSelectionObserver* aObserver = NULL );
00563
00579 IMPORT_C static TBool RunFolderSelectDlgLD(
00580 TDes& aFolder,
00581 const TDesC& aStartFolder,
00582 TInt aMemorySelectionResourceId,
00583 TInt aFileSelectionResourceId,
00584 const TDesC& aFileSelectionTitle,
00585 MAknFileFilter* aFilter = NULL,
00586 MAknFileSelectionObserver* aObserver = NULL );
00587
00588 };
00589
00590
00591 #endif
00592
00593