homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmenumodewrapper.h
changeset 62 341166945d65
parent 46 23b5d6a29cce
child 81 7dd137878ff8
equal deleted inserted replaced
57:2e2dc3d30ca8 62:341166945d65
    13  *
    13  *
    14  * Description: Menu View Builder
    14  * Description: Menu View Builder
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #ifndef HSAPPLIBRARYMODE_H
    18 #ifndef HSMENUMODEWRAPPER_H
    19 #define HSAPPLIBRARYMODE_H
    19 #define HSMENUMODEWRAPPER_H
    20 
    20 
       
    21 #include <QVariant>
    21 #include "hsapp_defs.h"
    22 #include "hsapp_defs.h"
    22 
    23 
    23 class HsMenuModeWrapper
    24 class HsMenuModeWrapper
    24 {
    25 {
    25 public:
    26 public:
    26     HsMenuModeWrapper();
    27     HsMenuModeWrapper();
    27     
    28     
    28     HsMenuMode getHsMenuMode() const;
    29     HsMenuMode getHsMenuMode() const;
       
    30     QVariant getHsToken() const;
    29 
    31 
    30     void setHsMenuMode(HsMenuMode menuMode);
    32     void setHsMenuMode(HsMenuMode menuMode, QVariant token = NULL);
    31 
    33 
    32 private:
    34 private:
    33     HsMenuMode mMode;
    35     HsMenuMode mMode;
       
    36     QVariant mToken;
    34 };
    37 };
    35 
    38 
    36 #endif
    39 #endif