bearermanagement/mpm/inc/mpmserversession.h
changeset 40 c5b848e6c7d1
parent 20 9c97ad6591ae
child 41 bbb64eb3bdee
equal deleted inserted replaced
34:3b0cec605979 40:c5b848e6c7d1
    51 const TUint   KMPMNrWlansTwo        = 2;
    51 const TUint   KMPMNrWlansTwo        = 2;
    52 const TInt    KMaxGetIntSettingLength = KCommsDbSvrMaxColumnNameLength * 2;
    52 const TInt    KMaxGetIntSettingLength = KCommsDbSvrMaxColumnNameLength * 2;
    53 _LIT( KIapProxyServiceSetting, "IAP\\IAPService" );
    53 _LIT( KIapProxyServiceSetting, "IAP\\IAPService" );
    54 
    54 
    55 // FORWARD DECLARATIONS
    55 // FORWARD DECLARATIONS
    56 class CMPMDisconnectDlg;
       
    57 class CMPMConfirmDlgRoaming;
    56 class CMPMConfirmDlgRoaming;
    58 class CMPMCommsDatAccess;
    57 class CMPMCommsDatAccess;
    59 class CMPMIapSelection;
    58 class CMPMIapSelection;
    60 
    59 
    61 // CLASS DECLARATION
    60 // CLASS DECLARATION
   590         * Handling of error processing.
   589         * Handling of error processing.
   591         * @since 3.1
   590         * @since 3.1
   592         * @param aMessage message from client
   591         * @param aMessage message from client
   593         */
   592         */
   594         void HandleServerProcessErrorL(const RMessage2& aMessage);
   593         void HandleServerProcessErrorL(const RMessage2& aMessage);
   595 
   594         
   596         /**
   595         /**
   597         * Handling of prefered IAP notification registration.
   596         * Handling of prefered IAP notification registration.
   598         * @since 3.1
   597         * @since 3.1
   599         * @param aMessage message from client
   598         * @param aMessage message from client
   600         */
   599         */
   820         * to a background application.
   819         * to a background application.
   821         * @since 3.2
   820         * @since 3.2
   822         * @param aUid Application Uid
   821         * @param aUid Application Uid
   823         */
   822         */
   824         TBool IsBackgroundApplication( TUint32 aUid ) const;
   823         TBool IsBackgroundApplication( TUint32 aUid ) const;
   825 
   824         
   826         /**
   825         /**
   827         * Checks if disconnect dialog should be displayed for this error
   826         * Checks if disconnect dialog should be displayed for this error
   828         * @since 3.2
   827         * @since 3.2
   829         * @param aError Error code
   828         * @param aError Error code
   830         */
   829         */
   871 
   870 
   872     private: // Data
   871     private: // Data
   873     
   872     
   874         // Server class reference
   873         // Server class reference
   875         CMPMServer& iMyServer;
   874         CMPMServer& iMyServer;
   876 
       
   877         // Pointer to the disconnect dialog active object
       
   878         CMPMDisconnectDlg* iDisconnectDlg;
       
   879 
   875 
   880         // Pointer to the roaming confirmation dialog active object
   876         // Pointer to the roaming confirmation dialog active object
   881         CMPMConfirmDlgRoaming* iConfirmDlgRoaming;
   877         CMPMConfirmDlgRoaming* iConfirmDlgRoaming;
   882 
   878 
   883         // Connection Id
   879         // Connection Id
   943         TUint32 iMigrateIap;
   939         TUint32 iMigrateIap;
   944 
   940 
   945         // Set when this session is user connection
   941         // Set when this session is user connection
   946 		    //
   942 		    //
   947         TBool iUserConnection;
   943         TBool iUserConnection;
   948         
       
   949         // Set when disconnect dialog is shown to avoid 
       
   950         // showing duplicate cellulara data usage dialog
       
   951         //
       
   952         TBool iDisconnectDialogShown;
       
   953     };
   944     };
   954 
   945 
   955 #include "mpmserversession.inl"
   946 #include "mpmserversession.inl"
   956     
   947     
   957 #endif // MPMSERVERSESSION_H
   948 #endif // MPMSERVERSESSION_H