equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
48 class CSisHelperShutdown : public CTimer |
48 class CSisHelperShutdown : public CTimer |
49 { |
49 { |
50 #ifdef __WINS__ // Occassionally, there are transient problems in the emulator that cause the timer to kick in sooner than needed (DEF104102) |
50 #ifdef __WINS__ // Occassionally, there are transient problems in the emulator that cause the timer to kick in sooner than needed (DEF104102) |
51 enum {KShutdownDelay=5*1000*1000}; // 5 seconds |
51 enum {KShutdownDelay=5*1000*1000}; // 5 seconds |
52 #else |
52 #else |
53 enum {KShutdownDelay=2*1000*1000}; // 2 seconds |
53 enum {KShutdownDelay=12*1000*1000}; // 12 seconds |
54 #endif |
54 #endif |
55 public: |
55 public: |
56 inline CSisHelperShutdown(); |
56 inline CSisHelperShutdown(); |
57 virtual ~CSisHelperShutdown(); |
57 virtual ~CSisHelperShutdown(); |
58 inline void ConstructL(); |
58 inline void ConstructL(); |