wvuing/IMPSServiceSettingsUI/SharedDataSrc/CIMPSSharedDataFactory.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:  Shared data factory
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CWVSETTINGSUISHAREDDATAFACTORY_H
       
    19 #define __CWVSETTINGSUISHAREDDATAFACTORY_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class MIMPSSharedDataObserver;
       
    26 class MIMPSSharedData;
       
    27 class MIMPSSystemNotifier;
       
    28 class MIMPSSystemNotifierObserver;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  Shared data factory
       
    34 *
       
    35 *  @lib WVServiceSettingsUi.dll
       
    36 *  @since 2.6
       
    37 */
       
    38 NONSHARABLE_CLASS( CIMPSSharedDataFactory ) : public CBase
       
    39     {
       
    40 
       
    41 public: // New functions
       
    42     /**
       
    43     * Creates a permanent key handler
       
    44     * Returns the correct implementation.
       
    45     */
       
    46     static MIMPSSharedData* CreatePermanentKeyHandlerL( MIMPSSharedDataObserver* aObserver,
       
    47     const TUid aUid );
       
    48 
       
    49     /**
       
    50     * Creates a permanent key handler
       
    51     * Returns the correct implementation.
       
    52     */
       
    53     static MIMPSSharedData* CreateTemporaryKeyHandlerL( MIMPSSharedDataObserver* aObserver,
       
    54                                                         const TUid aUid );
       
    55 
       
    56     /**
       
    57     * Creates a system notify handler
       
    58     * Returns the correct implementation.
       
    59     */
       
    60     static MIMPSSystemNotifier* CreateSystemNotifyHandlerL( MIMPSSystemNotifierObserver& aObserver,
       
    61                                                             const TUid aKey );
       
    62 
       
    63 private:
       
    64 
       
    65     /**
       
    66     * C++ default constructor.
       
    67     */
       
    68     CIMPSSharedDataFactory();
       
    69 
       
    70     /**
       
    71     * Destructor.
       
    72     */
       
    73     virtual ~CIMPSSharedDataFactory();
       
    74 
       
    75     };
       
    76 
       
    77 #endif      // __CWVSETTINGSUISHAREDDATAFACTORY_H
       
    78 
       
    79 // End of File