homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsmenumodewrapper.cpp
changeset 46 23b5d6a29cce
child 61 2b1b11a301d2
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
       
     1 /*
       
     2  * Copyright (c) 2009 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: Menu Mode Wrapper
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HS_MENU_MODE_WRAPPER_H
       
    19 #define HS_MENU_MODE_WRAPPER_H
       
    20 
       
    21 #include "hsmenumodewrapper.h"
       
    22 /*!
       
    23     \class HsMenuModeWrapper
       
    24     \ingroup group_hsmenustateplugin
       
    25 
       
    26     \brief Menu Mode Wrapper.
       
    27 
       
    28     Represents objects to keep Hs Menu Mode.
       
    29 
       
    30     \sa Hs Menu Mode
       
    31 */
       
    32 
       
    33 /*!
       
    34    Constructor.
       
    35  */
       
    36 
       
    37 HsMenuModeWrapper::HsMenuModeWrapper(): mMode(NormalHsMenuMode)
       
    38 {
       
    39 }
       
    40     
       
    41 /*!
       
    42     \return homescreen mode (add mode on / add mode off) set on the object
       
    43  */
       
    44 HsMenuMode HsMenuModeWrapper::getHsMenuMode() const
       
    45 {
       
    46     return mMode;
       
    47 }
       
    48 
       
    49 /*!
       
    50     \return sets in the object homescreen mode (add mode on / add mode off)
       
    51  */
       
    52 void HsMenuModeWrapper::setHsMenuMode(HsMenuMode menuMode) {
       
    53     mMode = menuMode;
       
    54 }
       
    55 
       
    56 #endif