Update contrib.
1 // Copyright (c) 1997-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 // The stub classes for testing the CRegistrar class
18 #include "Discoverer.h"
19 #include "BackupNotifier.h"
20 #include "RegistryData.h"
22 //******************************************
24 //******************************************
25 CDiscoverer* CDiscoverer::NewL(MDiscovererObserver& aDiscovererObserver, RFs& aFs)
27 return new(ELeave) CDiscoverer(aDiscovererObserver, aFs);
30 CDiscoverer::CDiscoverer(MDiscovererObserver& aDiscovererObserver, RFs& aFs) :
32 iDiscovererObserver(aDiscovererObserver),
37 CDiscoverer::~CDiscoverer()
41 TInt CDiscoverer::Suspend()
46 TInt CDiscoverer::Resume()
51 //******************************************
52 // CBackupNotifier Stubs
53 //******************************************
54 CBackupNotifier* CBackupNotifier::NewL(MBackupNotifierObserver& aObserver)
56 return new(ELeave) CBackupNotifier(aObserver);
59 CBackupNotifier::CBackupNotifier(MBackupNotifierObserver& aObserver) :
65 CBackupNotifier::~CBackupNotifier()
69 void CBackupNotifier::HandleBackupOperationEventL(const TBackupOperationAttributes& aBackupOperationAttributes)
71 switch(aBackupOperationAttributes.iOperation)