cellular/sssettings/inc/csssettingsrefreshcontainer.h
author hgs
Wed, 21 Jul 2010 18:26:52 +0300
changeset 33 8d5d7fcf9b59
permissions -rw-r--r--
201027
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  Container class for refresh related implementation.
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef CSSSETTINGSREFRESHCONTAINER_H
hgs
parents:
diff changeset
    20
#define CSSSETTINGSREFRESHCONTAINER_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
hgs
parents:
diff changeset
    23
//  INCLUDES
hgs
parents:
diff changeset
    24
#include <msssettingsrefreshhandler.h> 
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
// FORWARD DECLARATIONS
hgs
parents:
diff changeset
    28
class CSSSettingsRefreshHandler;
hgs
parents:
diff changeset
    29
hgs
parents:
diff changeset
    30
hgs
parents:
diff changeset
    31
// CLASS DECLARATION
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
/**
hgs
parents:
diff changeset
    34
* Container class for refresh related implementation.
hgs
parents:
diff changeset
    35
* 
hgs
parents:
diff changeset
    36
* @since    2.8
hgs
parents:
diff changeset
    37
* @lib      SsSettings.lib
hgs
parents:
diff changeset
    38
*/
hgs
parents:
diff changeset
    39
class CSSSettingsRefreshContainer :
hgs
parents:
diff changeset
    40
    public CBase
hgs
parents:
diff changeset
    41
    {
hgs
parents:
diff changeset
    42
    public: // Constructor and destructor
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
        /**
hgs
parents:
diff changeset
    45
        * Two-phased constructor.
hgs
parents:
diff changeset
    46
        */
hgs
parents:
diff changeset
    47
        IMPORT_C static CSSSettingsRefreshContainer* NewL();
hgs
parents:
diff changeset
    48
hgs
parents:
diff changeset
    49
        /**
hgs
parents:
diff changeset
    50
        * Destructor.
hgs
parents:
diff changeset
    51
        */
hgs
parents:
diff changeset
    52
        IMPORT_C ~CSSSettingsRefreshContainer();
hgs
parents:
diff changeset
    53
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
    public: // New functions
hgs
parents:
diff changeset
    56
hgs
parents:
diff changeset
    57
        /**
hgs
parents:
diff changeset
    58
        * Return the refresh handler instance.
hgs
parents:
diff changeset
    59
        * 
hgs
parents:
diff changeset
    60
        * @return The Refresh handler instance.
hgs
parents:
diff changeset
    61
        */
hgs
parents:
diff changeset
    62
        IMPORT_C MSSSettingsRefreshHandler& RefreshHandler();
hgs
parents:
diff changeset
    63
hgs
parents:
diff changeset
    64
hgs
parents:
diff changeset
    65
    private:
hgs
parents:
diff changeset
    66
hgs
parents:
diff changeset
    67
        /**
hgs
parents:
diff changeset
    68
        * C++ default constructor.
hgs
parents:
diff changeset
    69
        */
hgs
parents:
diff changeset
    70
        CSSSettingsRefreshContainer();
hgs
parents:
diff changeset
    71
hgs
parents:
diff changeset
    72
        /**
hgs
parents:
diff changeset
    73
        * By default Symbian 2nd phase constructor is private.
hgs
parents:
diff changeset
    74
        */
hgs
parents:
diff changeset
    75
        void ConstructL();
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
hgs
parents:
diff changeset
    78
    private:    // Data
hgs
parents:
diff changeset
    79
hgs
parents:
diff changeset
    80
        CSSSettingsRefreshHandler* iRefreshHandler;
hgs
parents:
diff changeset
    81
    };
hgs
parents:
diff changeset
    82
hgs
parents:
diff changeset
    83
#endif      // CSSSETTINGSREFRESHCONTAINER_H  
hgs
parents:
diff changeset
    84
            
hgs
parents:
diff changeset
    85
// End of File