instantmessagesalert/inc/imalertnotifierfactory.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Publish and Subscribe or Shared data factory method implementation
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef IMALERTNOTIFIERFACTORY_H
       
    19 #define IMALERTNOTIFIERFACTORY_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class MIMAlertNotifierInterface;
       
    27 class MIMAlertNotifierKeyObserver;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Class for notifying key changes and changing the values of Pub&Sub- or shared data key changes,
       
    33 *  depending which is used in the platform.
       
    34 *
       
    35 *  @since Series 60 Platform 3.0
       
    36 */
       
    37 // This is not a C-class although it begins with a CA
       
    38 class IMAlertNotifierFactory // CSI: 51 # see above
       
    39     {
       
    40     public: // New methods
       
    41 
       
    42          /** 
       
    43          * Instantiates a notifier object
       
    44          * @param aObserver Observer class for the key
       
    45 		 * @param aUid 
       
    46          */
       
    47         IMPORT_C static MIMAlertNotifierInterface* CreateNotifierL( 
       
    48                 MIMAlertNotifierKeyObserver* aObserver );
       
    49     };
       
    50 
       
    51 #endif      // IMALERTNOTIFIERFACTORY_H
       
    52 
       
    53 // End of File