williamr@2: /* williamr@2: * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: ?Description williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef MMGFETCHVERIFIER_H williamr@2: #define MMGFETCHVERIFIER_H williamr@2: williamr@2: williamr@2: // INCLUDES williamr@2: #include // MDesCArray williamr@2: williamr@2: // CLASS DECLARATION williamr@2: williamr@2: /** williamr@2: * Interface for verifying fetch selection before the fetch popup is closed williamr@2: * williamr@2: * @since 2.0 williamr@2: */ williamr@2: class MMGFetchVerifier williamr@2: { williamr@2: public: // Constructors and destructor williamr@2: williamr@2: virtual ~MMGFetchVerifier() {} williamr@2: williamr@2: public: // New functions williamr@2: /** williamr@2: * Interface for verifying fetch file selection (see MGFetch.h) williamr@2: * If MMGFetchVerifier is passed to MGFetch then VerifySelectionL williamr@2: * is called when user tries to select file(s) from the fetcher. williamr@2: * If VerifySelectionL returns ETrue then the fetcher popup is closed and williamr@2: * the selection is accepted. If VerifySelectionL returns EFalse then the williamr@2: * fetcher is not closed and user needs to select different file(s) or williamr@2: * cancel the operation. williamr@2: * williamr@2: * @since 2.0 williamr@2: * @param aSelectedFiles Array holding the file(s) to be verified williamr@2: * @return ETrue if selection is accepted, EFalse if not williamr@2: */ williamr@2: virtual TBool VerifySelectionL( const MDesCArray* aSelectedFiles ) = 0; williamr@2: }; williamr@2: #endif // MMGFETCHVERIFIER_H williamr@2: williamr@2: // End of File