idlehomescreen/xmluirendering/uiengine/inc/xnpropertycomparator.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2008 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 "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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Compares two objects.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef XNPROPERTYCOMPARATOR_H
       
    20 #define XNPROPERTYCOMPARATOR_H
       
    21 
       
    22 // User includes
       
    23 #include "xncomparator.h"
       
    24 
       
    25 // Class declaration
       
    26 
       
    27 /**
       
    28  *  Compares two objects.
       
    29  *  
       
    30  *  @ingroup group_xnlayoutengine
       
    31  *  @lib xn3layoutengine.lib
       
    32  *  @since Series 60 3.1
       
    33  */
       
    34 NONSHARABLE_CLASS( TXnPropertyComparator ) : public MXnComparator
       
    35     {
       
    36 public:
       
    37     // Constructors and destructor
       
    38 
       
    39     /**
       
    40      * C++ default constructor.
       
    41      */
       
    42     TXnPropertyComparator();
       
    43 
       
    44     /**
       
    45      * Destructor.
       
    46      */
       
    47     ~TXnPropertyComparator();
       
    48 
       
    49 public:
       
    50     // Functions from MXnComparator
       
    51 
       
    52     /**
       
    53      * From MXnComparator.
       
    54      * Compares two objects for equality.
       
    55      * 
       
    56      * @since Series 60 3.1
       
    57      * @param aItem1 First item
       
    58      * @param aItem1 Second item
       
    59      * @return ETrue if equal, EFalse if not equal
       
    60      */
       
    61     TBool Equals( CBase& aItem1, CBase& aItem2 );
       
    62     };
       
    63 
       
    64 #endif      // XNPROPERTYCOMPARATOR_H