1 /* |
|
2 * Copyright (c) 2006-2007 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRHISTORY_H |
|
20 #define IRHISTORY_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 class CIRIsdsPreset; |
|
25 class CIRUi; |
|
26 |
|
27 //========================================class declaration CIRLastPlayedStationInfo============================================ |
|
28 |
|
29 /** |
|
30 * This class Creates CIRLastPlayedStationInfo. |
|
31 * //Please put brife about this class |
|
32 * |
|
33 * @code |
|
34 * |
|
35 * |
|
36 * //Please put brife about this function |
|
37 * |
|
38 * |
|
39 * |
|
40 * @endcode |
|
41 * |
|
42 */ |
|
43 |
|
44 class CIRLastPlayedStationInfo:public CBase |
|
45 { |
|
46 public: |
|
47 /** |
|
48 * NewL. |
|
49 * Two-phased constructor. |
|
50 * Create a CIRLastPlayedStationInfo object |
|
51 * |
|
52 * @param |
|
53 * @return |
|
54 */ |
|
55 static CIRLastPlayedStationInfo*NewL(); |
|
56 |
|
57 /** |
|
58 * NewLC. |
|
59 * Two-phased constructor. |
|
60 * Create a CIRLastPlayedStationInfo object |
|
61 * |
|
62 * @param |
|
63 * @return |
|
64 */ |
|
65 static CIRLastPlayedStationInfo* NewLC(); |
|
66 |
|
67 /** |
|
68 * ~CIRLastPlayedStationInfo |
|
69 * Destructor. |
|
70 */ |
|
71 ~CIRLastPlayedStationInfo(); |
|
72 |
|
73 /** |
|
74 * CommitLastPlayedChannelL |
|
75 * |
|
76 */ |
|
77 void CommitLastPlayedChannelL(); |
|
78 |
|
79 /** |
|
80 * RetriveLastPlayedChannelL |
|
81 * |
|
82 */ |
|
83 void RetriveLastPlayedChannelL(); |
|
84 |
|
85 /** |
|
86 * FileExists |
|
87 * |
|
88 */ |
|
89 TBool FileExists(); |
|
90 |
|
91 /** |
|
92 * RemoveLastPlayedFile |
|
93 * |
|
94 */ |
|
95 TInt RemoveLastPlayedFile(); |
|
96 |
|
97 protected: |
|
98 /** |
|
99 * ConstructL |
|
100 * 2nd phase constructor. |
|
101 * Perform the second phase construction of a |
|
102 * CIRLastPlayedStationInfo object. |
|
103 * @param |
|
104 */ |
|
105 void ConstructL(); |
|
106 |
|
107 public: |
|
108 CIRIsdsPreset *iLastPlayedStation; |
|
109 CIRUi* ui; |
|
110 }; |
|
111 |
|
112 #endif //IR_HISTORY_H |
|