Update contrib.
1 // Copyright (c) 1998-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.
14 // DBMS server proxy observer object
22 CDbsNotifier* CDbsNotifier::NewL(const RDbsObject& aDatabase)
24 CDbsNotifier* self=new(ELeave) CDbsNotifier;
25 CleanupStack::PushL(self);
26 self->iObject.OpenL(aDatabase,EDbsDatabaseOpenObserver);
31 CDbsNotifier::~CDbsNotifier()
36 void CDbsNotifier::Notify(CDbNotifier::TType aType,TRequestStatus& aStatus)
38 iObject.SendReceive(EDbsObserverNotify,TIpcArgs(aType),aStatus);
41 void CDbsNotifier::Cancel()
43 iObject.SendReceive(EDbsObserverCancel);