wim/SwimReader/inc/SwimLauncher.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:42:03 +0200
branchRCL_3
changeset 5 3b17fc5c9564
parent 0 164170e6151a
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  For launching SwimReader
*
*/


#ifndef CSWIMREADERLAUNCHER_H
#define CSWIMREADERLAUNCHER_H

//  INCLUDES
#include "ScardReaderLauncher.h"

/**
*  Launcher class
*  
*
*  @lib SwimReader.lib
*  @since Series60 2.1
*/
class CSwimReaderLauncher : public MScardReaderLauncher, public CBase
    {
    public: // Constructors and destructor
     
        /**
        * C++ default constructor.
        */
        CSwimReaderLauncher();

        /**
        * Destructor.
        */
        virtual ~CSwimReaderLauncher();
    
    public: // New functions
        
        /**
        * Symbian 2nd phase constructor
        */
        void ConstructL( MScardReaderService* aService );

        /**
        * Delete reader 
        * @param  aReader Reader ID to be deleted
        * @return void
        */
        void DeleteReader( TReaderID aReaderID );
        
        /**
        * Create new reader object
        * @param aReaderID reader's ID 
        * @return pointer to created Scard reader
        */    
        MScardReader* CreateReaderL( TReaderID aReaderID );
 
    private:    // Data
        // Pointer to reader object. Owned.
        MScardReader*        iReader;
        // Pointer to reader service object. Not owned.
        MScardReaderService* iService;
    };

#endif      // CSWIMREADERLAUNCHER_H

// End of File