equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef CMTPSHUTDOWN_H |
|
22 #define CMTPSHUTDOWN_H |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 #include "rmtpframework.h" |
|
27 |
|
28 /** |
|
29 Implements the MTP server process shutdown timer. |
|
30 @internalComponent |
|
31 */ |
|
32 class CMTPShutdown : public CTimer |
|
33 { |
|
34 public: |
|
35 |
|
36 static CMTPShutdown* NewL(); |
|
37 virtual ~CMTPShutdown(); |
|
38 |
|
39 void Start(); |
|
40 |
|
41 private: // From CTimer |
|
42 |
|
43 void RunL(); |
|
44 |
|
45 private: |
|
46 |
|
47 CMTPShutdown(); |
|
48 void ConstructL(); |
|
49 |
|
50 private: |
|
51 |
|
52 RMTPFramework iSingletons; |
|
53 }; |
|
54 |
|
55 #endif // CMTPSHUTDOWN_H |