bearermanagement/mpm/inc/mpmserver.h
changeset 40 c5b848e6c7d1
parent 32 5c4486441ae6
child 41 bbb64eb3bdee
equal deleted inserted replaced
34:3b0cec605979 40:c5b848e6c7d1
    47 const TInt    KPhoneRetryCount   = 7;
    47 const TInt    KPhoneRetryCount   = 7;
    48 // 0.1 seconds
    48 // 0.1 seconds
    49 //
    49 //
    50 const TInt    KPhoneRetryTimeout = 100000;
    50 const TInt    KPhoneRetryTimeout = 100000;
    51 
    51 
    52 // The granularity with which iDisconnectQueue will allocate memory chunks. 
    52 // The granularity with which roaming and starting dialogs will allocate memory chunks. 
    53 // If set to two there will be space for two instances of CMPMDisconnectDlg
    53 // If set to two there will be space for two instances before new memory will be allocated.
    54 // before new memory will be allocated.
       
    55 const TInt    KGranularity       = 2;
    54 const TInt    KGranularity       = 2;
    56 
    55 
    57 // Security policy definitions
    56 // Security policy definitions
    58 
    57 
    59 //Total number of ranges
    58 //Total number of ranges
   185 
   184 
   186 // FORWARD DECLARATIONS
   185 // FORWARD DECLARATIONS
   187 class CMPMConnMonEvents;
   186 class CMPMConnMonEvents;
   188 class CMPMServerSession;
   187 class CMPMServerSession;
   189 class CMPMDtmWatcher;
   188 class CMPMDtmWatcher;
   190 class CMPMDisconnectDlg;
       
   191 class CMPMConfirmDlgRoaming;
   189 class CMPMConfirmDlgRoaming;
   192 class CMPMConfirmDlgStarting;
   190 class CMPMConfirmDlgStarting;
   193 class CMPMDefaultConnection;
   191 class CMPMDefaultConnection;
   194 
   192 
   195 // CLASS DECLARATION
   193 // CLASS DECLARATION
   586         * @return ETrue if yes, otherwise EFalse.
   584         * @return ETrue if yes, otherwise EFalse.
   587         */
   585         */
   588         inline TBool IsWLANScanRequired() const;
   586         inline TBool IsWLANScanRequired() const;
   589 
   587 
   590         /**
   588         /**
   591         * Get the DisconnectQueue.
       
   592         * @since 3.2
       
   593         * @return Pointer to the DisconnectQueue.
       
   594         */
       
   595         inline CArrayPtrFlat<CMPMDisconnectDlg>* DisconnectQueue();
       
   596 
       
   597         /**
       
   598         * Get the RoamingQueue.
   589         * Get the RoamingQueue.
   599         * @since 3.2
   590         * @since 3.2
   600         * @return Pointer to the RoamingQueue.
   591         * @return Pointer to the RoamingQueue.
   601         */
   592         */
   602         inline CArrayPtrFlat<CMPMConfirmDlgRoaming>* RoamingQueue();
   593         inline CArrayPtrFlat<CMPMConfirmDlgRoaming>* RoamingQueue();
   878         CMPMRoamingWatcher* iRoamingWatcher;
   869         CMPMRoamingWatcher* iRoamingWatcher;
   879 
   870 
   880         // Is WLAN scan required or not before displaying Connection Dialog
   871         // Is WLAN scan required or not before displaying Connection Dialog
   881         TBool iWLANScanRequired;
   872         TBool iWLANScanRequired;
   882 
   873 
   883         // Solves problem with overlapping Disconnect Dialogs
       
   884         CArrayPtrFlat<CMPMDisconnectDlg>* iDisconnectQueue;
       
   885 
       
   886         // Solves problem with overlapping Roaming Dialogs
   874         // Solves problem with overlapping Roaming Dialogs
   887         CArrayPtrFlat<CMPMConfirmDlgRoaming>* iRoamingQueue;
   875         CArrayPtrFlat<CMPMConfirmDlgRoaming>* iRoamingQueue;
   888 
   876 
   889         // Solves problem with overlapping Starting Dialogs
   877         // Solves problem with overlapping Starting Dialogs
   890         CArrayPtrFlat<CMPMConfirmDlgStarting>* iStartingQueue;
   878         CArrayPtrFlat<CMPMConfirmDlgStarting>* iStartingQueue;