equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005 - 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". |
1077 { |
1077 { |
1078 return iObservers; |
1078 return iObservers; |
1079 } |
1079 } |
1080 |
1080 |
1081 // ----------------------------------------------------------------------------- |
1081 // ----------------------------------------------------------------------------- |
1082 // CEvent::AddObservers |
|
1083 // |
|
1084 // ----------------------------------------------------------------------------- |
|
1085 // |
|
1086 void CEvent::AddObservers( RPointerArray<MMediatorServerEventObserver>& aObservers ) |
|
1087 { |
|
1088 // Check that observer does not exists already for this event |
|
1089 for (TInt index = 0; index < aObservers.Count(); index++ ) |
|
1090 { |
|
1091 iObservers.Append( aObservers[index] ); |
|
1092 } |
|
1093 } |
|
1094 |
|
1095 // ----------------------------------------------------------------------------- |
|
1096 // CEvent::Event |
1082 // CEvent::Event |
1097 // Returns EItemEvent |
1083 // Returns EItemEvent |
1098 // ----------------------------------------------------------------------------- |
1084 // ----------------------------------------------------------------------------- |
1099 // |
1085 // |
1100 MediatorService::TEvent CEvent::Event() const |
1086 MediatorService::TEvent CEvent::Event() const |