satengine/SatServer/inc/TSatSystemStateFactory.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2008 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:  Factory class that provides SAT SystemState objects
       
    15 *                outside of this DLL
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef TSATSYSTEMSTATEFACTORY_H
       
    22 #define TSATSYSTEMSTATEFACTORY_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MSatSystemState;
       
    29 class MSatSystemStateChangeNotifier;
       
    30 class MSatSystemStateObserver;
       
    31 class MSatMultiModeApi;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  Factory class.
       
    37 *
       
    38 *  @lib SatSystemState.lib
       
    39 *  @since Series 60 3.0
       
    40 */
       
    41 class TSatSystemStateFactory
       
    42     {
       
    43     public:  // Factory methods
       
    44 
       
    45         /**
       
    46         * Creates MSatSystemState object.
       
    47         * @param aPhone Reference to MSatMultiModeApi object.
       
    48         * @return Interface to SatSystemnState
       
    49         */
       
    50         IMPORT_C static MSatSystemState* CreateSystemStateL(
       
    51             MSatMultiModeApi& aPhone );
       
    52 
       
    53         /**
       
    54         * Creates idle mode change notifier.
       
    55         * @param aObserver Observer, which is notifed when change happens.
       
    56         * @return Interface to PSChangeNotifier listening Idle mode changes.
       
    57         */
       
    58         IMPORT_C static MSatSystemStateChangeNotifier*
       
    59             CreateIdleModeChangeNotifierL(
       
    60                 MSatSystemStateObserver& aObserver );
       
    61 
       
    62         /**
       
    63         * Creates SIM status change notifier.
       
    64         * @param aObserver Observer, which is notifed when change happens.
       
    65         * @return Interface to PSChangeNotifier listening SIM status changes.
       
    66         */
       
    67         IMPORT_C static MSatSystemStateChangeNotifier*
       
    68             CreateSimStatusChangeNotifierL(
       
    69                 MSatSystemStateObserver& aObserver );
       
    70 
       
    71         /**
       
    72         * Creates SIM access profile state change observer.
       
    73         * @param aObserver Observer, which is notifed when change happens.
       
    74         * @return Interface CenRepChangeNotifier listening SAP status.
       
    75         */
       
    76         IMPORT_C static MSatSystemStateChangeNotifier*
       
    77             CreateSIMAccessProfileChangeNotifierL(
       
    78                 MSatSystemStateObserver& aObserver );
       
    79 
       
    80         /**
       
    81         * Creates Startup state change observer.
       
    82         * @param aObserver Observer, which is notifed when change happens.
       
    83         * @return Interface PSChangeNotifier listening startup status.
       
    84         */
       
    85         IMPORT_C static MSatSystemStateChangeNotifier*
       
    86             CreateStartupChangeNotifierL(
       
    87                 MSatSystemStateObserver& aObserver );
       
    88 
       
    89         /**
       
    90         * Creates language selection observer.
       
    91         * @param aObserver Observer, which is notifed when change happens.
       
    92         * @return Interface to CenRepChangeNotifier listening language
       
    93         * selections.
       
    94         */
       
    95         IMPORT_C static MSatSystemStateChangeNotifier*
       
    96             CreateLanguageSelectionChangeNotifierL(
       
    97                 MSatSystemStateObserver& aObserver );
       
    98                 
       
    99         /**
       
   100         * Creates Profile state change observer.
       
   101         * @param aObserver Observer, which is notifed when change happens.
       
   102         * @return Interface to CenRepChangeNotifier listening profile
       
   103         * status.
       
   104         */
       
   105         IMPORT_C static MSatSystemStateChangeNotifier*
       
   106             CreateProfileChangeNotifierL(
       
   107                 MSatSystemStateObserver& aObserver );
       
   108                 
       
   109     };
       
   110 
       
   111 #endif      // TSATSYSTEMSTATEFACTORY_H
       
   112 
       
   113 // End of File