bluetoothengine/bthid/keyboard/src/hidkeyboarddriverproxy.cpp
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2007 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  *        ECOM proxy table for this plugin
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 // System includes
       
    21 //
       
    22 #include <e32std.h>
       
    23 #include <ecom/implementationproxy.h>
       
    24 #include "hiduids.h"
       
    25 
       
    26 // User includes
       
    27 //
       
    28 #include "keyboard.h"
       
    29 
       
    30 // Constants
       
    31 //
       
    32 const TImplementationProxy KHidKeyboardDriverProxy[] =
       
    33     {
       
    34     IMPLEMENTATION_PROXY_ENTRY( KEYBOARD_DRIVER_IMP, CHidKeyboardDriver::NewL )
       
    35     };
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // ImplementationGroupProxy
       
    39 // Gate/factory function
       
    40 //
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    44         TInt& aTableCount)
       
    45     {
       
    46     aTableCount = sizeof(KHidKeyboardDriverProxy)
       
    47             / sizeof(TImplementationProxy);
       
    48     return KHidKeyboardDriverProxy;
       
    49     }