epoc32/include/mw/mmgfetchverifier.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  ?Description
    15 *
    16 */
    17 
    18 
    19 #ifndef MMGFETCHVERIFIER_H
    20 #define MMGFETCHVERIFIER_H
    21 
    22 
    23 // INCLUDES
    24 #include <bamdesca.h> // MDesCArray
    25 
    26 // CLASS DECLARATION
    27 
    28 /**
    29 *  Interface for verifying fetch selection before the fetch popup is closed
    30 *
    31 *  @since 2.0
    32 */
    33 class MMGFetchVerifier
    34     {
    35     public:   // Constructors and destructor
    36 
    37         virtual ~MMGFetchVerifier() {}
    38 
    39     public:  // New functions
    40         /**
    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.
    48         *
    49         * @since 2.0
    50         * @param aSelectedFiles Array holding the file(s) to be verified
    51         * @return ETrue if selection is accepted, EFalse if not
    52         */
    53         virtual TBool VerifySelectionL( const MDesCArray* aSelectedFiles ) = 0;
    54     };
    55 #endif // MMGFETCHVERIFIER_H
    56 
    57 // End of File