imlauncherplugin.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : imlauncherplugin.h
00004 *  Part of     : IM Public API
00005 *  Interface   : IM launcher plugin
00006 *  Description : Interface for the IM application launching
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2004 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef IMLAUNCHERPLUGIN_H
00023 #define IMLAUNCHERPLUGIN_H
00024 
00025 //  INCLUDES
00026 #include <ecom\ecom.h>
00027 
00028 // UID of this interface
00029 const TUid KImLauncherPluginUid = {0x101FB0CC};
00030 
00036 class CImLauncherPlugin : public CBase
00037     {
00038     public:  // Constructors and destructor
00039         
00045         static CImLauncherPlugin* NewL(const TDesC8& aApplicationId);
00046         
00050         virtual ~CImLauncherPlugin();
00051 
00052     public: // New functions
00053         
00062         virtual void StartApplicationL(
00063                         TRequestStatus& aStatus, 
00064                         const TDesC& aSap, 
00065                         const TDesC& aUserId) = 0;
00066 
00071         virtual void CancelStartApplication() = 0;
00072 
00073     protected:
00074         //Default c'tor
00075         inline CImLauncherPlugin();
00076 
00077     private:    // Data
00084         TUid iDtor_ID_Key;
00085          
00086     };
00087 
00088 // This includes the implementation of the instantiation functions and
00089 // destructor
00090 #include "imlauncherplugin.inl"
00091 
00092 // IMLAUNCHERPLUGIN_H   
00093 #endif
00094             
00095 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top