Update contrib.
1 // Copyright (c) 2004-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
20 #include "obsrvr_noc.h"
21 #include <centralrepository.h>
22 #include "clientrequest.h"
24 using namespace NCentralRepositoryConstants;
26 class CSessionNotifier : public CBase, public MObserver
32 TInt AddRequest(TUint32 aId, TClientRequest aMessage);
33 TInt AddRequest(TUint32 aPartialId, TUint32 aIdMask, TClientRequest aMessage);
34 TInt CancelRequest(TUint32 aId);
35 TInt CancelRequest(TUint32 aPartialId, TUint32 aIdMask);
36 TInt CancelAllRequests();
39 void IdReportingOff();
42 void Notify(TUint32 aId);
52 RArray<SRequest> iRequests;
60 RArray<SGroupRequest> iGroupRequests;
62 enum { KArrayGranularity=1 };