cellular/sssettings/inc/csssettingsrefreshcontainer.h
author hgs
Tue, 10 Aug 2010 13:19:41 +0300
changeset 38 bc103bfb69cf
parent 33 8d5d7fcf9b59
permissions -rw-r--r--
201031_02

/*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Container class for refresh related implementation.
*
*/


#ifndef CSSSETTINGSREFRESHCONTAINER_H
#define CSSSETTINGSREFRESHCONTAINER_H


//  INCLUDES
#include <msssettingsrefreshhandler.h> 


// FORWARD DECLARATIONS
class CSSSettingsRefreshHandler;


// CLASS DECLARATION

/**
* Container class for refresh related implementation.
* 
* @since    2.8
* @lib      SsSettings.lib
*/
class CSSSettingsRefreshContainer :
    public CBase
    {
    public: // Constructor and destructor

        /**
        * Two-phased constructor.
        */
        IMPORT_C static CSSSettingsRefreshContainer* NewL();

        /**
        * Destructor.
        */
        IMPORT_C ~CSSSettingsRefreshContainer();


    public: // New functions

        /**
        * Return the refresh handler instance.
        * 
        * @return The Refresh handler instance.
        */
        IMPORT_C MSSSettingsRefreshHandler& RefreshHandler();


    private:

        /**
        * C++ default constructor.
        */
        CSSSettingsRefreshContainer();

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void ConstructL();


    private:    // Data

        CSSSettingsRefreshHandler* iRefreshHandler;
    };

#endif      // CSSSETTINGSREFRESHCONTAINER_H  
            
// End of File