bluetooth/btstack/linkmgr/interface/HardResetInitiator.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @publishedPartner
       
    19  @released
       
    20 */
       
    21 
       
    22 #ifndef HARDRESETINITIATOR_H
       
    23 #define HARDRESETINITIATOR_H
       
    24 
       
    25 
       
    26 /** 
       
    27 The UID of the Controller Hard Reset API. If the HC Hard Reset API ever has to change,
       
    28 a new UID and associated M- class will be created. 
       
    29 
       
    30 Old (non-updated) Controller Hard Reset plugins will still work as long as the old API 
       
    31 is supported
       
    32 */
       
    33 
       
    34 #include <e32base.h>
       
    35 
       
    36 const TInt KHCHardResetUid = 0x1027407F;
       
    37 
       
    38 /**
       
    39 Mixin for the Controller Hard Reset API.
       
    40 This interface is to be used via CHciCorePlugin.
       
    41 @see CHciCorePlugin::Interface(TUid)
       
    42 */
       
    43 class MHardResetInitiator
       
    44 	{
       
    45 public:
       
    46 	/**
       
    47 	This function should be used to 'reboot' the controller, for example by
       
    48 	powering it down, and then up again.
       
    49 	*/
       
    50 	virtual void MhriStartHardReset() = 0;
       
    51 	};
       
    52 
       
    53 #endif // HARDRESETINITIATOR_H