conversations_plat/im_cv_launcher_api/inc/imcvlauncher.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:33:36 +0100
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2008 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:  launcher class for launching the conversation view
*
*/



#ifndef IMCVLAUNCHER_H
#define IMCVLAUNCHER_H

#include <e32base.h>
#include <vwsdef.h>
class    MVPbkContactLink;
//  INCLUDES
/**
*  IM conversationview launcher implementation class
*
*  @lib imcvlauncher
*  @since 5.0
*/
class IMCVLauncher
    {

    public:  
    
		/**
		* LaunchImConversationViewL, launches the imconversation view
        * @param aActiveViewId , active view details
        * @param aServiceId - ServiceId        
        * @param aRecipientUserId , recipient user id used to send the message
        * @Returns Error Code
	    */
	    
		IMPORT_C static TInt LaunchImConversationViewL(TVwsViewId aActiveViewId,
														TInt aServiceId,
														const TDesC& aRecipientUserId ,
														const TDesC& aDisplayName = KNullDesC, 
														MVPbkContactLink* aContactLink = NULL 
														) ;
														
		static TInt PropertySettingsIdL(TUint32 aServiceId ) ;
										
	private:
		/**
		* CheckValidServiceL, Checks whether the service is a Valid IM service         
        * @param aServiceId - ServiceId              
        * @Returns TBool - ETrue if Valid Service, else EFalse
	    */
		static TBool CheckValidServiceL(TInt aServiceId);
		
    };

#endif      // CIMCVLAUNCHER_H

// End of File