uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/inc/s_mccaconnection.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2006, 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:  s_enginecontmgtextfeatures.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef S_MCCACONNECTION_H_
       
    19 #define S_MCCACONNECTION_H_
       
    20 
       
    21 #include <mccaconnection.h>
       
    22 
       
    23 class MCCAParameter;
       
    24 
       
    25 /** @file mccaconnection.h
       
    26  *
       
    27  *  MCCAObserver is used to get notifications from CCA application.
       
    28  *
       
    29  *  @lib ccaclient
       
    30  *  @since S60 v5.0
       
    31  */
       
    32 
       
    33 class MCCAConnectionStub:public MCCAConnection
       
    34     {
       
    35 
       
    36 public:
       
    37     static MCCAConnection* MCCAConnectionStub::NewL();
       
    38     /**
       
    39      * Destroy this entity
       
    40      *
       
    41      * @since S60 5.0
       
    42      */
       
    43      void Close() ;
       
    44 
       
    45     /**
       
    46      * DEPRECATED - USE LaunchAppL() instead!
       
    47      * Ownership of MCCAParameter is NOT transferred.
       
    48      */
       
    49      void LaunchApplicationL( MCCAParameter& aParameter ) ;
       
    50 
       
    51     /**
       
    52      * Launches CCA application with the given parameter.
       
    53      * See above for example instructions.
       
    54      *
       
    55      * Ownership of MCCAParameter is transferred.
       
    56      *
       
    57      * Leaves KErrArgument if there is no contact data in the
       
    58      *        given parameter.
       
    59      * Leaves KErrAlreadyExists if there is already CCApplication
       
    60      * running simultaneously.
       
    61      *
       
    62      * @see MCCAParameter::SetContactDataL
       
    63      * @since S60 5.0
       
    64      * @param aParameter to launch application
       
    65      * @param aObserver to get notifications (see MCCAObserver)
       
    66      */
       
    67      void LaunchAppL(
       
    68         MCCAParameter& aParameter,
       
    69         MCCAObserver* aObserver = NULL ) ;
       
    70     };
       
    71 
       
    72 
       
    73 
       
    74 
       
    75 
       
    76 #endif /* S_MCCACONNECTION_H_ */