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