wvuing/wvaudiomanager/Inc/CANotifierFactory.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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 
       
    19 
       
    20 #ifndef CANOTIFIERFACTORY_H
       
    21 #define CANOTIFIERFACTORY_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MCANotifierInterface;
       
    29 class MCANotifierKeyObserver;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  Class for notifying key changes and changing the values of Pub&Sub- or shared data key changes,
       
    35 *  depending which is used in the platform.
       
    36 *
       
    37 *  @since Series 60 Platform 3.0
       
    38 */
       
    39 // This is not a C-class although it begins with a CA
       
    40 class CANotifierFactory // CSI: 51 # see above
       
    41     {
       
    42     public: // New methods
       
    43 
       
    44         /**
       
    45         * Instantiates a notifier object
       
    46         * @param aObserver Observer class for the key
       
    47         * @param aUid
       
    48         */
       
    49         IMPORT_C static MCANotifierInterface* CreateNotifierL(
       
    50             MCANotifierKeyObserver* aObserver, const TUid aUid );
       
    51     };
       
    52 
       
    53 #endif      // CANOTIFIERFACTORY_H
       
    54 
       
    55 // End of File