PECengine/IncPlugin/CPEngPluginInterface2.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Interface for Presence Engine Plugins.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CPENGPLUGININTERFACE2_H
       
    19 #define __CPENGPLUGININTERFACE2_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <ECom/ECom.h>
       
    24 
       
    25 
       
    26 // CONSTANTS
       
    27 const TUid KPEngPluginInterfaceUid = { 0x101FB0E6 };
       
    28 
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  * ECom interface for Presence Engine Plugins.
       
    35  *
       
    36  */
       
    37 class CPEngPluginInterface2 : public CBase
       
    38     {
       
    39     public: // Constructor and destructor
       
    40         /**
       
    41          * Constructor.
       
    42          * @param aImplementationUid ECom implementation UID of the plugin.
       
    43          */
       
    44         static CPEngPluginInterface2* NewL( TUid aImplementationUid );
       
    45 
       
    46 
       
    47         /**
       
    48          * Destructor.
       
    49          * Virtual by CBase.
       
    50          */
       
    51         ~CPEngPluginInterface2();
       
    52 
       
    53 
       
    54 
       
    55     protected: // Implementation
       
    56 
       
    57         CPEngPluginInterface2();
       
    58 
       
    59 
       
    60 
       
    61     private:  // Data
       
    62 
       
    63         //Own: destructor id key
       
    64         TUid iDtor_ID_Key;
       
    65     };
       
    66 
       
    67 #include "CPEngPluginInterface2.inl"
       
    68 
       
    69 #endif // __CPENGPLUGININTERFACE2_H
       
    70 
       
    71 
       
    72 // End of File
       
    73 
       
    74 
       
    75