equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2004 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 #ifndef MXNCOMPARATOR_H |
|
19 #define MXNCOMPARATOR_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 |
|
24 /** |
|
25 * @ingroup group_xnutils |
|
26 * |
|
27 * Compares two objects. |
|
28 * @since Series 60 3.1 |
|
29 */ |
|
30 class MXnComparator |
|
31 { |
|
32 public: // Constructors and destructor |
|
33 |
|
34 /** |
|
35 * Destructor. |
|
36 */ |
|
37 virtual ~MXnComparator() {}; |
|
38 |
|
39 public: // New functions |
|
40 |
|
41 /** |
|
42 * Compares two objects for equality. |
|
43 * @since Series 60 3.1 |
|
44 * @param aItem1 First item |
|
45 * @param aItem1 Second item |
|
46 * @return ETrue if equal, EFalse if not equal |
|
47 */ |
|
48 virtual TBool Equals(CBase& aItem1, CBase& aItem2) = 0; |
|
49 }; |
|
50 |
|
51 #endif // MXnCOMPARATOR_H |
|
52 |
|
53 // End of File |