uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/inc/s_mccaconnection.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 10:12:18 +0200
changeset 0 5e5d6b214f4f
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2006, 2007 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:  s_enginecontmgtextfeatures.cpp
*
*/

#ifndef S_MCCACONNECTION_H_
#define S_MCCACONNECTION_H_

#include <mccaconnection.h>

class MCCAParameter;

/** @file mccaconnection.h
 *
 *  MCCAObserver is used to get notifications from CCA application.
 *
 *  @lib ccaclient
 *  @since S60 v5.0
 */

class MCCAConnectionStub:public MCCAConnection
    {

public:
    static MCCAConnection* MCCAConnectionStub::NewL();
    /**
     * Destroy this entity
     *
     * @since S60 5.0
     */
     void Close() ;

    /**
     * DEPRECATED - USE LaunchAppL() instead!
     * Ownership of MCCAParameter is NOT transferred.
     */
     void LaunchApplicationL( MCCAParameter& aParameter ) ;

    /**
     * Launches CCA application with the given parameter.
     * See above for example instructions.
     *
     * Ownership of MCCAParameter is transferred.
     *
     * Leaves KErrArgument if there is no contact data in the
     *        given parameter.
     * Leaves KErrAlreadyExists if there is already CCApplication
     * running simultaneously.
     *
     * @see MCCAParameter::SetContactDataL
     * @since S60 5.0
     * @param aParameter to launch application
     * @param aObserver to get notifications (see MCCAObserver)
     */
     void LaunchAppL(
        MCCAParameter& aParameter,
        MCCAObserver* aObserver = NULL ) ;
    };





#endif /* S_MCCACONNECTION_H_ */