equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
16 // |
16 // |
17 |
17 |
18 /** |
18 /** |
19 @file |
19 @file |
20 */ |
20 */ |
|
21 |
|
22 |
|
23 #include "OstTraceDefinitions.h" |
|
24 #ifdef OST_TRACE_COMPILER_IN_USE |
|
25 #include "smspcdbTraces.h" |
|
26 #endif |
21 |
27 |
22 #include "smspcdb.h" |
28 #include "smspcdb.h" |
23 #include "smspmain.h" |
29 #include "smspmain.h" |
24 #include "smsuset.h" |
30 #include "smsuset.h" |
25 #include "SmsuTimer.h" |
31 #include "SmsuTimer.h" |
46 } // CSmspCommDbEvent::~CSmspCommDbEvent |
52 } // CSmspCommDbEvent::~CSmspCommDbEvent |
47 |
53 |
48 |
54 |
49 void CSmspCommDbEvent::ConstructL() |
55 void CSmspCommDbEvent::ConstructL() |
50 { |
56 { |
51 LOGSMSPROT1("CSmspCommDbEvent::ConstructL()"); |
57 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSMSPCOMMDBEVENT_CONSTRUCTL_1, "CSmspCommDbEvent::ConstructL()"); |
52 |
58 |
53 ConstructTimeoutL(); |
59 ConstructTimeoutL(); |
54 } // CSmspCommDbEvent::ConstructL |
60 } // CSmspCommDbEvent::ConstructL |
55 |
61 |
56 |
62 |
58 * Starts the state machine by requesting the property to notify us when |
64 * Starts the state machine by requesting the property to notify us when |
59 * the CommDB change event is fired. |
65 * the CommDB change event is fired. |
60 */ |
66 */ |
61 void CSmspCommDbEvent::NotifyOnEvent() |
67 void CSmspCommDbEvent::NotifyOnEvent() |
62 { |
68 { |
63 LOGSMSPROT1("CSmspCommDbEvent::NotifyOnEvent()"); |
69 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSMSPCOMMDBEVENT_NOTIFYONEVENT_1, "CSmspCommDbEvent::NotifyOnEvent()"); |
64 |
70 |
65 iProperty.Subscribe(iStatus); |
71 iProperty.Subscribe(iStatus); |
66 SetActive(); |
72 SetActive(); |
67 } // CSmspCommDbEvent::NotifyOnEvent |
73 } // CSmspCommDbEvent::NotifyOnEvent |
68 |
74 |
72 * |
78 * |
73 * @param aStatus a status value. |
79 * @param aStatus a status value. |
74 */ |
80 */ |
75 void CSmspCommDbEvent::Complete(TInt aError) |
81 void CSmspCommDbEvent::Complete(TInt aError) |
76 { |
82 { |
77 LOGSMSPROT1("CSmspCommDbEvent::Complete()"); |
83 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CSMSPCOMMDBEVENT_COMPLETE_1, "CSmspCommDbEvent::Complete()"); |
78 |
84 |
79 // |
85 // |
80 // Call the base function to perform the actual complete... |
86 // Call the base function to perform the actual complete... |
81 // |
87 // |
82 CSmsuActiveBase::Complete(aError); |
88 CSmsuActiveBase::Complete(aError); |