kernel/eka/drivers/sdapc/d_sdapc.h
branchRCL_3
changeset 42 a179b74831c9
equal deleted inserted replaced
41:0ffb4e86fcc9 42:a179b74831c9
       
     1 // Copyright (c) 2010 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 the License "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 #ifndef __D_SDAPC_H__
       
    17 #define __D_SDAPC_H__
       
    18 #include <e32cmn.h>
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 class TCapsTestV01
       
    24 	{
       
    25 public:
       
    26 	TVersion	iVersion;
       
    27 	};
       
    28 
       
    29 /**
       
    30 
       
    31 A user-side interface to the SD PSU auxiliary-control driver.
       
    32 
       
    33 */
       
    34 class RSDAuxiliaryPowerControlAPI : public RBusLogicalChannel
       
    35 	{
       
    36 public:
       
    37 	enum
       
    38 		{
       
    39 		EMajorVersionNumber=1,
       
    40 		EMinorVersionNumber=0,
       
    41 		EBuildVersionNumber=1
       
    42 		};
       
    43 
       
    44 public:
       
    45 	inline void Cancel();
       
    46 	
       
    47 	inline TInt Open(TInt aSocket,const TVersion& aVer)
       
    48 		{return(DoCreate(_L("D_SDAPC"),aVer,(TInt)aSocket,NULL,NULL));}
       
    49 	
       
    50 	inline TVersion VersionRequired() const
       
    51 		{return(TVersion(EMajorVersionNumber,EMinorVersionNumber,EBuildVersionNumber));}
       
    52 	
       
    53 	};
       
    54 
       
    55 #endif