00001 /* 00002 * ============================================================================== 00003 * Name : AknCommonDialogs.h 00004 * Part of : Common File Dialogs / CommonDialogs.dll 00005 * Interface : ?Interface_category, ?Interface_name 00006 * Description : ?Description 00007 * Version : ?Version 00008 * 00009 * Copyright (c) 2002-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef AKNCOMMONDIALOGS_H 00022 #define AKNCOMMONDIALOGS_H 00023 00024 // INCLUDES 00025 #include <CAknCommonDialogsBase.h> 00026 00027 // FORWARD DECLARATIONS 00028 class MAknMemorySelectionObserver; 00029 class MAknFileSelectionObserver; 00030 class MAknFileFilter; 00031 00032 // CLASS DEFINITION 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 00513 #start_since SINCE_3_1_SDK 00514 00530 IMPORT_C static TBool RunSelectDlgLD( 00531 TDes& aFileName, 00532 const TDesC& aStartFolder, 00533 TInt aMemorySelectionResourceId, 00534 TInt aFileSelectionResourceId, 00535 const TDesC& aFileSelectionTitle, 00536 MAknFileFilter* aFilter = NULL, 00537 MAknFileSelectionObserver* aObserver = NULL ); 00538 #end_since SINCE_3_1_SDK 00539 #start_since SINCE_3_1_SDK 00540 00559 IMPORT_C static TBool RunSaveDlgLD( 00560 TDes& aDefaultFileName, 00561 const TDesC& aStartFolder, 00562 TInt aMemorySelectionResourceId, 00563 TInt aFileSelectionResourceId, 00564 const TDesC& aFileSelectionTitle, 00565 MAknFileFilter* aFilter = NULL, 00566 MAknFileSelectionObserver* aObserver = NULL ); 00567 #end_since SINCE_3_1_SDK 00568 #start_since SINCE_3_1_SDK 00569 00585 IMPORT_C static TBool RunFolderSelectDlgLD( 00586 TDes& aFolder, 00587 const TDesC& aStartFolder, 00588 TInt aMemorySelectionResourceId, 00589 TInt aFileSelectionResourceId, 00590 const TDesC& aFileSelectionTitle, 00591 MAknFileFilter* aFilter = NULL, 00592 MAknFileSelectionObserver* aObserver = NULL ); 00593 #end_since SINCE_3_1_SDK 00594 00595 }; 00596 00597 // AKNCOMMONDIALOGS_H 00598 #endif 00599 00600 // End of File