2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: ?Description
19 #ifndef MMGFETCHVERIFIER_H
20 #define MMGFETCHVERIFIER_H
24 #include <bamdesca.h> // MDesCArray
29 * Interface for verifying fetch selection before the fetch popup is closed
33 class MMGFetchVerifier
35 public: // Constructors and destructor
37 virtual ~MMGFetchVerifier() {}
39 public: // New functions
41 * Interface for verifying fetch file selection (see MGFetch.h)
42 * If MMGFetchVerifier is passed to MGFetch then VerifySelectionL
43 * is called when user tries to select file(s) from the fetcher.
44 * If VerifySelectionL returns ETrue then the fetcher popup is closed and
45 * the selection is accepted. If VerifySelectionL returns EFalse then the
46 * fetcher is not closed and user needs to select different file(s) or
47 * cancel the operation.
50 * @param aSelectedFiles Array holding the file(s) to be verified
51 * @return ETrue if selection is accepted, EFalse if not
53 virtual TBool VerifySelectionL( const MDesCArray* aSelectedFiles ) = 0;
55 #endif // MMGFETCHVERIFIER_H