equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009-2010 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 * Initial Contributors: |
|
9 * Nokia Corporation - initial contribution. |
|
10 * Contributors: |
|
11 * |
|
12 * Description: |
|
13 * MSRP Implementation |
|
14 * |
|
15 */ |
|
16 |
|
17 #ifndef CMSRPTIMEOUTIMER_H |
|
18 #define CMSRPTIMEOUTIMER_H |
|
19 |
|
20 // EXTERNAL INCLUDES |
|
21 #include <e32base.h> |
|
22 |
|
23 // CONSTANTS |
|
24 |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MMSRPTimeOutObserver; |
|
28 |
|
29 // CLASS DECLARATIONS |
|
30 /** |
|
31 * Implements timeout timer. |
|
32 */ |
|
33 class CMSRPTimeOutTimer: public CTimer |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * Static constructor |
|
39 * @param aTimeOutNotify The reference to the timeout notifier. |
|
40 * @return A new instance of CMSRPTimeOutTimer |
|
41 */ |
|
42 static CMSRPTimeOutTimer* NewL( MMSRPTimeOutObserver& aTimeOutNotify ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CMSRPTimeOutTimer(); |
|
48 |
|
49 protected: |
|
50 |
|
51 /** |
|
52 * C++ default constructor. |
|
53 * @param aTimeOutNotify The reference to the timeout notifier. |
|
54 */ |
|
55 CMSRPTimeOutTimer( MMSRPTimeOutObserver& aTimeOutNotify ); |
|
56 |
|
57 /** |
|
58 * Symbian 2nd phase constructor that might leave. |
|
59 */ |
|
60 void ConstructL( ); |
|
61 |
|
62 private: // From base classes |
|
63 /** |
|
64 * From CActive |
|
65 */ |
|
66 virtual void RunL(); |
|
67 |
|
68 private: // Member variables |
|
69 |
|
70 // The reference to the notifier |
|
71 MMSRPTimeOutObserver& iNotifier; |
|
72 }; |
|
73 |
|
74 #endif // CSIPEXTIMEOUTIMER_H |
|
75 |
|
76 // End of file |