systemswstubs/examplecommonisc/IscDriver/inc/IscDriverExtensionDevice.h
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     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:  Reference implementation for ISC Driver extension
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef ISCDRIVER_EXTENSION_DEVICE_H
       
    22 #define ISCDRIVER_EXTENSION_DEVICE_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <kernel.h>
       
    26 #include <IscDevice.h> // Base class
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *  Isc driver extension ldd factory object
       
    42 *
       
    43 *  @lib IscDriver.LIB
       
    44 *  @since 2.8
       
    45 */
       
    46 class DIscDriverExtensionDevice : public DIscDevice
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49         
       
    50         /**
       
    51         * C++ default constructor.
       
    52         */
       
    53         DIscDriverExtensionDevice();
       
    54        
       
    55         /**
       
    56         * Destructor.
       
    57         */
       
    58         virtual ~DIscDriverExtensionDevice();
       
    59 
       
    60     public: // Functions from base classes
       
    61 
       
    62         /**
       
    63         * Create a logical channel
       
    64 		* @since 2.8
       
    65         * @param DLogicalChannelBase*& aChannel logical channel to be set
       
    66         * @return virtual TInt KErrNone if succesful, otherwise KErrNoMemory
       
    67         */
       
    68         virtual TInt Create( DLogicalChannelBase*& aChannel );
       
    69 
       
    70         /**
       
    71         * Complete the installation of driver
       
    72 		* @since 2.8
       
    73         * @return TInt KErrNone if successful 
       
    74         */
       
    75         TInt Install();
       
    76 
       
    77 
       
    78     private:
       
    79     
       
    80         DIscDevice* iIscDriverDevice;
       
    81     };
       
    82 
       
    83 #endif      // ISCDRIVER_EXTENSION_DEVICE_H   
       
    84             
       
    85 // End of File