idlehomescreen/inc/xncomparator.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 12:29:32 +0300
branchRCL_3
changeset 25 137ebc85284b
parent 0 f72a12da539e
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "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:  Compares two objects.
*
*/

#ifndef MXNCOMPARATOR_H
#define MXNCOMPARATOR_H

//  INCLUDES
#include <e32base.h>

/**
* @ingroup group_xnutils
* 
*  Compares two objects.
*  @since Series 60 3.1
*/
class MXnComparator
    {
    public:  // Constructors and destructor
        
        /**
        * Destructor.
        */
        virtual ~MXnComparator() {};
        
    public: // New functions
        
        /**
        * Compares two objects for equality.
        * @since Series 60 3.1
        * @param aItem1 First item
        * @param aItem1 Second item
        * @return ETrue if equal, EFalse if not equal
        */
		    virtual TBool Equals(CBase& aItem1, CBase& aItem2) = 0;
    };

#endif      // MXnCOMPARATOR_H
            
// End of File