1.1 --- a/epoc32/include/app/imlauncherplugin.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,92 +0,0 @@
1.4 -/*
1.5 -* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
1.6 -* All rights reserved.
1.7 -* This component and the accompanying materials are made available
1.8 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.9 -* which accompanies this distribution, and is available
1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 -*
1.12 -* Initial Contributors:
1.13 -* Nokia Corporation - initial contribution.
1.14 -*
1.15 -* Contributors:
1.16 -*
1.17 -* Description: Interface for the IM application launching
1.18 -*
1.19 -*/
1.20 -
1.21 -
1.22 -
1.23 -#ifndef IMLAUNCHERPLUGIN_H
1.24 -#define IMLAUNCHERPLUGIN_H
1.25 -
1.26 -// INCLUDES
1.27 -#include <ecom/ecom.h>
1.28 -
1.29 -// UID of this interface
1.30 -const TUid KImLauncherPluginUid = {0x101FB0CC};
1.31 -
1.32 -/**
1.33 -* Interface class for application launching
1.34 -*
1.35 -* @since 2.6
1.36 -*/
1.37 -class CImLauncherPlugin : public CBase
1.38 - {
1.39 - public: // Constructors and destructor
1.40 -
1.41 - /**
1.42 - * Two-phased constructor.
1.43 - * @param aApplicationId the Application ID of the application to be launched
1.44 - * @return CImLauncherPlugin instance
1.45 - */
1.46 - static CImLauncherPlugin* NewL( const TDesC8& aApplicationId );
1.47 -
1.48 - /**
1.49 - * Destructor.
1.50 - */
1.51 - virtual ~CImLauncherPlugin();
1.52 -
1.53 - public: // New functions
1.54 -
1.55 - /**
1.56 - * Method for starting an application which can receive instant messages.
1.57 - * Asynchronous function.
1.58 - * @since 3.0
1.59 - * @param aStatus Request status
1.60 - * @param aSAP the remote SAP server from where the pending IM came
1.61 - * @param aUserId the user ID who received the IM
1.62 - */
1.63 - virtual void StartApplicationL(
1.64 - TRequestStatus& aStatus,
1.65 - const TDesC& aSap,
1.66 - const TDesC& aUserId ) = 0;
1.67 -
1.68 - /**
1.69 - * Method for canceling the application start.
1.70 - * @since 2.6
1.71 - */
1.72 - virtual void CancelStartApplication() = 0;
1.73 -
1.74 - protected:
1.75 - //Default c'tor
1.76 - inline CImLauncherPlugin();
1.77 -
1.78 - private: // Data
1.79 - /** iDtor_ID_Key Instance identifier key. When instance of an
1.80 - * implementation is created by ECOM framework, the
1.81 - * framework will assign UID for it. The UID is used in
1.82 - * destructor to notify framework that this instance is
1.83 - * being destroyed and resources can be released.
1.84 - */
1.85 - TUid iDtor_ID_Key;
1.86 -
1.87 - };
1.88 -
1.89 -// This includes the implementation of the instantiation functions and
1.90 -// destructor
1.91 -#include "imlauncherplugin.inl"
1.92 -
1.93 -#endif // IMLAUNCHERPLUGIN_H
1.94 -
1.95 -// End of File