homesync/contentmanager/homesyncgsplugin/inc/msgsinterface.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 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:  Interface for Mediaservant application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MSGSINTERFACE_H
       
    20 #define MSGSINTERFACE_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <aknview.h>
       
    24 
       
    25 
       
    26 /**
       
    27  *  GS plugin interface
       
    28  *
       
    29  *  @lib msgsplugin.lib
       
    30  */
       
    31 class CMSGSInterface : public CAknView
       
    32     {
       
    33     public: // New functions
       
    34 
       
    35         /**
       
    36         * Wraps ECom object instantiation.
       
    37         * @param aUid Specifies the concrete implementation.
       
    38         */
       
    39         inline static CMSGSInterface* NewL( const TUid aUid );       
       
    40         
       
    41         
       
    42         /**
       
    43         * Notifies framework that this instance is being destroyed
       
    44         * and resources can be released.
       
    45         */
       
    46         inline void DestroyPlugin();        
       
    47         
       
    48 	protected:
       
    49 	    /** iDtor_ID_Key Instance identifier key. When instance of an
       
    50 	     *               implementation is created by ECOM framework, the
       
    51 	     *               framework will assign UID for it. The UID is used in
       
    52 	     *               destructor to notify framework that this instance is
       
    53 	     *               being destroyed and resources can be released.
       
    54          */	
       
    55 	    TUid iDtor_ID_Key;     
       
    56     };
       
    57 
       
    58 #include "msgs.inl"
       
    59     
       
    60 #endif // MSGSINTERFACE_H
       
    61 
       
    62 // End of File
       
    63