localconnectivityservice/generichid/tsrc/GenericHidTest/inc/CHidDriverPlugin.h
branchRCL_3
changeset 20 4a793f564d72
parent 19 0aa8cc770c8a
child 21 74aa6861c87d
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef REFERENCE_HIDDRIVER_IMPL_H
       
    20 #define REFERENCE_HIDDRIVER_IMPL_H
       
    21 
       
    22 #include <hidinterfaces.h>
       
    23 
       
    24 NONSHARABLE_CLASS(CHidDriverPlugin) : public CHidDriver
       
    25   	{
       
    26   	public:
       
    27         
       
    28         /**
       
    29         * Two-phased constructor.
       
    30         */
       
    31         static CHidDriverPlugin* NewL(MDriverAccess* aHid);
       
    32           
       
    33         TInt CanHandleReportL(CReportRoot* aReportDescriptor);
       
    34         
       
    35         TInt DataIn(CHidTransport::THidChannelType aChannel,
       
    36                 const TDesC8& aPayload);
       
    37         
       
    38         void Disconnected(TInt aReason);
       
    39         void InitialiseL(TInt aConnectionId);
       
    40         void StartL(TInt aConnectionId);
       
    41         void Stop();
       
    42         void CommandResult(TInt aCmdAck);
       
    43         TInt SupportedFieldCount();
       
    44         void SetInputHandlingReg(CHidInputDataHandlingReg* aHandlingReg);
       
    45 
       
    46 private:
       
    47 		CHidDriverPlugin();
       
    48     
       
    49 private:    // Data
       
    50 
       
    51     };
       
    52 
       
    53 #endif      // REFERENCE_HIDDRIVER_IMPL_H
       
    54             
       
    55 // End of File