|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef AKN_ICON_FILE_NAME_ITEM_H |
|
21 #define AKN_ICON_FILE_NAME_ITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 // CONSTANTS |
|
29 |
|
30 // CLASS DEFINITIONS |
|
31 |
|
32 NONSHARABLE_CLASS(CAknIconFileNameItem) : public CBase |
|
33 { |
|
34 public: // Constructor and destructor |
|
35 |
|
36 /** |
|
37 * @param aFileName file name |
|
38 */ |
|
39 static CAknIconFileNameItem* NewL( const TDesC& aFileName ); |
|
40 |
|
41 /** |
|
42 * Constructor for compare items. |
|
43 * |
|
44 * @param aFileName file name |
|
45 */ |
|
46 CAknIconFileNameItem( const TDesC& aFileName ); |
|
47 |
|
48 ~CAknIconFileNameItem(); |
|
49 |
|
50 public: // New functions |
|
51 |
|
52 static TInt LinearOrder( |
|
53 const CAknIconFileNameItem& aFirst, |
|
54 const CAknIconFileNameItem& aSecond ); |
|
55 |
|
56 private: // Private constructors |
|
57 |
|
58 CAknIconFileNameItem(); |
|
59 void ConstructL( const TDesC& aFileName ); |
|
60 |
|
61 public: // Data |
|
62 HBufC* iFileName; |
|
63 const TDesC* iFileNameRef; // used by compare items |
|
64 }; |
|
65 |
|
66 #endif // AKN_ICON_FILE_NAME_ITEM_H |
|
67 |
|
68 // End of File |