2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: In case that Service Consumer (owner of SC instance) needs
15 * some special, even properietary interface, it can request
16 * an implementation of such interface by calling
17 * CSenServiceConnection::InterfaceByUid(UID) and acquire
18 * on of the M-class interfaces defined in this file.
25 #ifndef M_SEN_SERVICE_CONNNECTION_INTERFACES_H
26 #define M_SEN_SERVICE_CONNNECTION_INTERFACES_H
29 // UIDs for the supported, new *service connection interfaces*:
30 const TUid KSenInterfaceUidAlrServiceConnection = { 0xE760F699 }; // MSenAlrServiceConnection
35 * Callback interface for service consumers
38 class MSenAlrServiceConnection
42 * With this method client can indicate that it wants to start using a new preferred
43 * connection as a response to PreferredCarrierAvailable() callback.
45 * @param aUserChoice TRUE(Yes) FALSE (No)
46 * if UserChoice is TRUE then connection will migrated to new carrier
48 * if UserChoice is FALSE connection will not migrate to new carrier
50 virtual void MigrateToPrefferedCarrierL(TBool &aUserChoice) = 0 ;
53 * With this method client can indicate that it accepts to use a new preferred
54 * connection as a response to NewCarrierActive() callback.
56 * Earlier the client has received MigrateToPrefferedCarrierL()
57 * callback. Once it has agreed to migrate through NewCarrierAvailable(),
58 * newCarrierActive() callback will be invoked in order
59 * to get acceptance from the application.
61 * @param aUserChoice TRUE(Yes) FALSE (No)
62 * if UserChoice is TRUE then new Carrier will be accepted
63 * if UserChoice is FALSE connection will not accept the new carrier
65 virtual void NewCarrierAcceptedL(TBool &aUserChoice) = 0 ;
68 #endif // M_SEN_SERVICE_CONNNECTION_INTERFACES_H