locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingslbmodel.h
branchRCL_3
changeset 49 10852b179f64
parent 0 667063e416a2
child 55 ea98413ce11f
equal deleted inserted replaced
47:fce0ae2e4223 49:10852b179f64
    43         /**
    43         /**
    44         * Enumerations for List box Entries
    44         * Enumerations for List box Entries
    45         */
    45         */
    46         enum	TSUPLSettingsItemId        
    46         enum	TSUPLSettingsItemId        
    47             {
    47             {
    48             ESUPLSettingsUsage = 0,
    48             ESUPLSettingsServersDetail = 0,
    49             ESUPLSettingsServersDetail,
       
    50             ESUPLSettingsActiveSessions
    49             ESUPLSettingsActiveSessions
    51             };
    50             };
    52             	
    51             	
    53 	public:
    52 	public:
    54         /**
    53         /**
   110         /**
   109         /**
   111          * Second Phase constructor
   110          * Second Phase constructor
   112          */
   111          */
   113         void ConstructL();
   112         void ConstructL();
   114         
   113         
   115         /**
       
   116          * Packs the SUPL settings usage to the end of the buffer passed.
       
   117          *
       
   118          * @param aPtr Buffer to which the Supl settings usage point needs to be 
       
   119          *            appended.         
       
   120          */
       
   121         void AppendSuplUsage( TDes16& aPtr ) const;
       
   122 
   114 
   123         /**
   115         /**
   124          * Packs the Server Address to the end of the buffer passed.
   116          * Packs the Server Address to the end of the buffer passed.
   125          * 
   117          * 
   126          * @param aPtr Buffer to which the Access point needs to be 
   118          * @param aPtr Buffer to which the Access point needs to be 
   147          * Title Text Buffer for Server Detail Heading
   139          * Title Text Buffer for Server Detail Heading
   148          * Owns
   140          * Owns
   149          */
   141          */
   150         HBufC16*                    iServerDetailTitle;
   142         HBufC16*                    iServerDetailTitle;
   151         
   143         
   152         /**
       
   153          * Title text for SUPL usage.
       
   154          * Owns.
       
   155          */
       
   156         HBufC16*                    iSuplUsageTitle;
       
   157         
   144         
   158         /**
   145         /**
   159          * SUPL Active Sessions count.
   146          * SUPL Active Sessions count.
   160          */
   147          */
   161         mutable TInt iSessionCount;
   148         mutable TInt iSessionCount;
   164          * Default Server Address 
   151          * Default Server Address 
   165          * Owns
   152          * Owns
   166          */
   153          */
   167         HBufC16*                    iSuplServerDetail;
   154         HBufC16*                    iSuplServerDetail;
   168         
   155         
   169         /**
       
   170          * Default SUPL usage.
       
   171          * Owns.
       
   172          */
       
   173         HBufC16*                    iDefaultSuplUsage;
       
   174 
   156 
   175         /**
   157         /**
   176          * Reference the SUPL Settings Engine
   158          * Reference the SUPL Settings Engine
   177          */   
   159          */   
   178         CLocSUPLSettingsUiEngine&   iEngine;
   160         CLocSUPLSettingsUiEngine&   iEngine;
   179         
   161         
   180         /** 
       
   181          * Boolean value to indicate whethere SUPL settings usage
       
   182          * is present.
       
   183          */
       
   184         TBool                       iSuplUsagePresent;
       
   185                 
   162                 
   186         /**
   163         /**
   187          * Boolean value to indicate whether SUPL address field
   164          * Boolean value to indicate whether SUPL address field
   188          * is present.
   165          * is present.
   189          */
   166          */