diff -r 000000000000 -r 29b1cd4cb562 bluetooth/btstack/linkmgr/interface/HardResetInitiator.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bluetooth/btstack/linkmgr/interface/HardResetInitiator.h Fri Jan 15 08:13:17 2010 +0200 @@ -0,0 +1,53 @@ +// Copyright (c) 2005-2009 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" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @publishedPartner + @released +*/ + +#ifndef HARDRESETINITIATOR_H +#define HARDRESETINITIATOR_H + + +/** +The UID of the Controller Hard Reset API. If the HC Hard Reset API ever has to change, +a new UID and associated M- class will be created. + +Old (non-updated) Controller Hard Reset plugins will still work as long as the old API +is supported +*/ + +#include + +const TInt KHCHardResetUid = 0x1027407F; + +/** +Mixin for the Controller Hard Reset API. +This interface is to be used via CHciCorePlugin. +@see CHciCorePlugin::Interface(TUid) +*/ +class MHardResetInitiator + { +public: + /** + This function should be used to 'reboot' the controller, for example by + powering it down, and then up again. + */ + virtual void MhriStartHardReset() = 0; + }; + +#endif // HARDRESETINITIATOR_H