locationsystemui/locationsysui/possettings/posmethodsplugin/inc/pospsysettingscommon.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2  * Copyright (c) 2010 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: Contains the common data structures & Enum
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef POSPSYSETTINGSCOMMON_H
       
    19 #define POSPSYSETTINGSCOMMON_H
       
    20 
       
    21 #include <e32cmn.h>
       
    22 #include <qstring.h>
       
    23 
       
    24 /**
       
    25  * Enumeration to indicate the state of the Psy
       
    26  */
       
    27 enum PosPsyState
       
    28     {
       
    29     PsyEnable,
       
    30 
       
    31     PsyDisable
       
    32     };
       
    33 /**
       
    34  * Struct that contains all the info related to each Psy
       
    35  * - uid of Psy
       
    36  * - name
       
    37  * - state of the Psy whether enabled/disabled
       
    38  */
       
    39 struct PosPsyInfo
       
    40     {
       
    41     TUid mPsyModuelId;
       
    42 
       
    43     QString mPsyName;
       
    44 
       
    45     PosPsyState mPsyState;
       
    46     };
       
    47 
       
    48 #endif /* POSPSYSETTINGSCOMMON_H */
       
    49