diff -r 000000000000 -r ff3b6d0fd310 cellular/SSSettings/inc/CSSSettingsRefreshContainer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cellular/SSSettings/inc/CSSSettingsRefreshContainer.h Tue Feb 02 01:11:09 2010 +0200 @@ -0,0 +1,85 @@ +/* +* 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 + + +// 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