/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

package com.nokia.sdt.sourcegen.contributions.domains.cpp;

import com.nokia.sdt.sourcegen.contributions.IContribution;

/**
 * This interface is used to tell whether a given contribution
 * should be accepted or rejected.  
 * 
 *
 */
public interface IContributionFilter {
    /** Examine the contribution and tell whether it should be accepted or ignored */ 
    public boolean acceptContribution(IContribution contrib);

    /**
     *  Reset the filter state for a new sourcegen pass 
     */
    public void reset();
}
