diff -r 8a27654f7b62 -r 20fda83a6398 bluetoothmgmt/btmgr/Inc/BTManServer.h --- a/bluetoothmgmt/btmgr/Inc/BTManServer.h Fri Mar 12 15:49:00 2010 +0200 +++ b/bluetoothmgmt/btmgr/Inc/BTManServer.h Mon Mar 15 12:44:59 2010 +0200 @@ -1,4 +1,4 @@ -// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -24,6 +24,7 @@ #include #include "BTRegistryDB.h" #include "btmanclientserver.h" +#include "btmanserverburmgr.h" #if KMaxBluetoothNameLen > KMaxFriendlyNameLen #define KLongestName KMaxBluetoothNameLen @@ -105,13 +106,17 @@ /** The BTMan Server. **/ -NONSHARABLE_CLASS(CBTManServer) : public CPolicyServer +NONSHARABLE_CLASS(CBTManServer) : public CPolicyServer, public MBTBURNotify { public: //construct / destruct static CServer2* NewLC(); ~CBTManServer(); + // From MBTBURNotify + virtual void BUROperationStarted(); + virtual void BUROperationStopped(); + void AddSession(); void DropSession(); @@ -126,12 +131,14 @@ void Publish(TUint aKey, TInt aValue); // only publish ints for now, ignore error void NotifyViewChange(CBTManSubSession& aSubSessionViewOwner, const TDesC& aViewDescriptor); + void NotifyViewChange(const TDesC& aViewDescriptor); private: CBTManServer(); void ConstructL(); //open/close a session CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const; + void TryToStartShutdownTimer(); private: TInt iMaxSessionCount; @@ -140,6 +147,9 @@ CObjectConIx* iContainerIndex;//