equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004 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 "Eclipse Public License v1.0" |
5 * under the terms of "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". |
57 |
57 |
58 // ----------------------------------------------------------------------------- |
58 // ----------------------------------------------------------------------------- |
59 // CDclTimerAO::Add |
59 // CDclTimerAO::Add |
60 // ----------------------------------------------------------------------------- |
60 // ----------------------------------------------------------------------------- |
61 // |
61 // |
62 void CDclTimerAO::Add( const TUint& aConnectionId ) |
62 TInt CDclTimerAO::Add( const TUint& aConnectionId ) |
63 { |
63 { |
64 iConnectionIds.Append( aConnectionId ); |
64 TInt err( KErrNone ); |
|
65 err = iConnectionIds.Append( aConnectionId ); |
65 |
66 |
66 NextTimerAfter(); |
67 if ( !err ) |
|
68 { |
|
69 NextTimerAfter(); |
|
70 } |
|
71 return err; |
67 } |
72 } |
68 |
73 |
69 // ----------------------------------------------------------------------------- |
74 // ----------------------------------------------------------------------------- |
70 // CDclTimerAO::Remove |
75 // CDclTimerAO::Remove |
71 // ----------------------------------------------------------------------------- |
76 // ----------------------------------------------------------------------------- |