00001 /* 00002 * ============================================================================== 00003 * Name : MGFetch.h 00004 * Part of : MediaGallery / MGFetch.lib 00005 * Interface : ?Interface_category, ?Interface_name 00006 * Description : Media fetch API 00007 * Version : ?Version 00008 * 00009 * Copyright (c) 2002 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 MGFETCH_H 00022 #define MGFETCH_H 00023 00024 // INCLUDES 00025 #include <e32base.h> 00026 #include <MediaFileTypes.hrh> 00027 #include <badesca.h> 00028 00029 // FORWARD DECLARATIONS 00030 class MMGFetchVerifier; 00031 class MMGFetchCanceler; 00032 00033 // CLASS DECLARATION 00034 00041 class MGFetch 00042 { 00043 public: // New functions 00044 00055 IMPORT_C static TBool RunL( CDesCArray& aSelectedFiles, 00056 TMediaFileType aMediaType, 00057 TBool aMultiSelect, 00058 MMGFetchVerifier* aVerifier = NULL ); 00059 00074 IMPORT_C static TBool RunL( CDesCArray& aSelectedFiles, 00075 TMediaFileType aMediaType, 00076 TBool aMultiSelect, 00077 const TDesC& aSelectionSoftkey, 00078 const TDesC& aHeading, 00079 MMGFetchVerifier* aVerifier = NULL ); 00080 00097 IMPORT_C static TBool RunL( CDesCArray& aSelectedFiles, 00098 TMediaFileType aMediaType, 00099 TBool aMultiSelect, 00100 const TDesC& aSelectionSoftkey, 00101 const TDesC& aHeading, 00102 MDesCArray* aMimeTypes, 00103 MMGFetchVerifier* aVerifier = NULL ); 00104 00122 IMPORT_C static TBool RunL( CDesCArray& aSelectedFiles, 00123 TMediaFileType aMediaType, 00124 TBool aMultiSelect, 00125 const TDesC& aSelectionSoftkey, 00126 const TDesC& aHeading, 00127 MDesCArray* aMimeTypes, 00128 MMGFetchCanceler*& aCanceler, 00129 MMGFetchVerifier* aVerifier = NULL 00130 ); 00131 00132 }; 00133 // MGFETCH_H 00134 #endif 00135 00136 // End of File