idlehomescreen/xmluirendering/uiengine/inc/xnpropertycomparator.h
changeset 0 f72a12da539e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/idlehomescreen/xmluirendering/uiengine/inc/xnpropertycomparator.h	Thu Dec 17 08:40:49 2009 +0200
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2008 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 XNPROPERTYCOMPARATOR_H
+#define XNPROPERTYCOMPARATOR_H
+
+// User includes
+#include "xncomparator.h"
+
+// Class declaration
+
+/**
+ *  Compares two objects.
+ *  
+ *  @ingroup group_xnlayoutengine
+ *  @lib xn3layoutengine.lib
+ *  @since Series 60 3.1
+ */
+NONSHARABLE_CLASS( TXnPropertyComparator ) : public MXnComparator
+    {
+public:
+    // Constructors and destructor
+
+    /**
+     * C++ default constructor.
+     */
+    TXnPropertyComparator();
+
+    /**
+     * Destructor.
+     */
+    ~TXnPropertyComparator();
+
+public:
+    // Functions from MXnComparator
+
+    /**
+     * From MXnComparator.
+     * 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
+     */
+    TBool Equals( CBase& aItem1, CBase& aItem2 );
+    };
+
+#endif      // XNPROPERTYCOMPARATOR_H