cellular/SSSettings/inc/CSSSettingsRefreshContainer.h
changeset 0 ff3b6d0fd310
child 3 a4a774cb6ea7
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     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:  Container class for refresh related implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSSSETTINGSREFRESHCONTAINER_H
       
    20 #define CSSSETTINGSREFRESHCONTAINER_H
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 #include <MSSSettingsRefreshHandler.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CSSSettingsRefreshHandler;
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * Container class for refresh related implementation.
       
    35 * 
       
    36 * @since    2.8
       
    37 * @lib      SsSettings.lib
       
    38 */
       
    39 class CSSSettingsRefreshContainer :
       
    40     public CBase
       
    41     {
       
    42     public: // Constructor and destructor
       
    43 
       
    44         /**
       
    45         * Two-phased constructor.
       
    46         */
       
    47         IMPORT_C static CSSSettingsRefreshContainer* NewL();
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         IMPORT_C ~CSSSettingsRefreshContainer();
       
    53 
       
    54 
       
    55     public: // New functions
       
    56 
       
    57         /**
       
    58         * Return the refresh handler instance.
       
    59         * 
       
    60         * @return The Refresh handler instance.
       
    61         */
       
    62         IMPORT_C MSSSettingsRefreshHandler& RefreshHandler();
       
    63 
       
    64 
       
    65     private:
       
    66 
       
    67         /**
       
    68         * C++ default constructor.
       
    69         */
       
    70         CSSSettingsRefreshContainer();
       
    71 
       
    72         /**
       
    73         * By default Symbian 2nd phase constructor is private.
       
    74         */
       
    75         void ConstructL();
       
    76 
       
    77 
       
    78     private:    // Data
       
    79 
       
    80         CSSSettingsRefreshHandler* iRefreshHandler;
       
    81     };
       
    82 
       
    83 #endif      // CSSSETTINGSREFRESHCONTAINER_H  
       
    84             
       
    85 // End of File